[master] fixes for PkgWrangler review

Dan Horák dan at danny.cz
Thu Nov 29 20:21:21 UTC 2012


Samantha N. Bueno píše v Čt 29. 11. 2012 v 14:03 -0500: 
> On Thu, Nov 29, 2012 at 01:32:04PM -0500, David Cantrell wrote:
> > In an effort to learn how the new PkgWrangler works, I've been working
> > through the anaconda review.  Here are fixes for that along with some
> > other things:
> > 
> > 1) systemd and udev stuff installing to /usr/lib rather than /lib.  I
> >    can't use the %{_libdir} macro because the 64-bit platforms give us
> >    /usr/lib64, so I went with %{_prefix}/lib.  If there is a special
> >    macro I should be using here, let me know.
> 
> There is the %{_lib} macro which just expands to (you guessed it!) lib,
> so %{_prefix}/%{_lib} ....if you really and truly have your heart set on
> using macros wherever possible at least.

no, %{_lib} expands to lib or lib64


Dan



More information about the anaconda-patches mailing list