[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



2008/7/9 Chuck Anderson <cra 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]