rpm spec file %define
Joseph L. Casale
jcasale at activenetwerx.com
Sun Jan 10 21:57:21 UTC 2016
> That approach sounds too complicated. %setup is a macro in the %prep
> section, where you can run more commands to _set up_ your builddir. The
> most obvious choice IMO would be to _rename_ the versioned dir to something
> unique. You could also avoid the second invocation of %setup and extract
> Source1 yourself using "tar". The parameters of the second %setup call
> don't define builddir anymore, but only extract into the builddir from
> the first invocation.
Hi Michael,
Yeah you are right, having the original folder name is not relevant.
I removed the macro and used a wildcard instead.
For the academic sake only, does a facility exist to defer evaluation
for this use case?
Thanks,
jlc
More information about the users
mailing list