SOURCES (AC-branch): rpm-macros.patch - %_x_libraries should use %...

Elan Ruusamäe glen at delfi.ee
Tue Oct 3 14:39:42 CEST 2006


On Tuesday 03 October 2006 15:22, Jakub Bogusz wrote:
> On Thu, Sep 28, 2006 at 01:33:21PM +0200, glen wrote:
> > Author: glen                         Date: Thu Sep 28 11:33:21 2006 GMT
> > Module: SOURCES                       Tag: AC-branch
> > ---- Log message:
> > - %_x_libraries should use %{_prefix}, imho
> >
> > @@ -24,7 +24,7 @@
> >   %_oldincludedir		/usr/include
> >   %_infodir		%{_prefix}/info
> >   %_mandir		%{_prefix}/man
> > -+%_x_libraries	/usr/X11R6/%{_lib}
> > ++%_x_libraries	%{_prefix}/X11R6/%{_lib}
>
> I disagree, it's constant /usr/X11R6 regardless of particular package
> prefix.
why isn't infodir/mandir then constant in similar manner?

and is there explained in detail what paths should be macros and what should 
be fixed in spec files.

i've seen QTDIR=/usr and QTDIR=%{_prefix} in specs. no constistent approach.

-- 
glen


More information about the pld-devel-en mailing list