Configuring export within a spec file

Paul paul at all-the-johnsons.co.uk
Mon Sep 12 22:08:35 UTC 2005


Hi,

I'm not sure how to do this, so I'll ask!

I have the following lines in my spec file

%prep
%{__rm} -rf %{buildroot}
%setup -q
export Z80_OZFILES=%{_srcdir}/lib/
export ZCCCFG=%{_srcdir}/lib/config
export PATH=${PATH}:%{_srcdir}/bin

%{_srcdir} is not expanding to BUILD/z88dk-1.6

What do I need to do to get _srcdir to expand correctly? I am, of
course, assuming _srcdir is the correct name for BUILD/z88dk-1.6 - I've
not set it up, but it follows the convention of _tmppath etc. (I have
tried _srcpath and _srcname - neither work)

TTFN

Paul
-- 
"A lot of football success is in the mind. You must believe you are the
best and then make sure that you are. In my time at Liverpool we always
said we had the best two teams on Merseyside, Liverpool and Liverpool
Reserves." - Bill Shankly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050912/d07736ef/attachment.sig>


More information about the fedora-extras-list mailing list