Heads-up: brand new RPM version about to hit rawhide

Thomas Moschny thomas.moschny at gmail.com
Tue Jul 15 12:16:06 UTC 2008


2008/7/9 Chuck Anderson <cra at wpi.edu>:
> +1.  This has been my .rpmmacros for years:
>
> %_topdir                                /home/cra/src/redhat
> %_ntopdir                               %{_topdir}/%{name}-%{version}-%{release}
> %_builddir                              %{_ntopdir}
> %_sourcedir                             %{_ntopdir}
> %_specdir                               %{_ntopdir}
> %_rpmfilename                           %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
> %_rpmdir                                %{_topdir}/RPMS
> %_srcrpmdir                             %{_topdir}/SRPMS

Is there a trick to teach "spectool -g -R" to expand %{name},
%{version} and %{release} and not to create directories that literally
contain '%{name}' etc. ?

Tried to use the -d option, but that didn't seem to work.

- Thomas




More information about the fedora-devel-list mailing list