Mailinglist Archive: opensuse-packaging (250 mails)

< Previous Next >
Re: [opensuse-packaging] RFC: Banning system library paths from .pc files
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Tue, 11 Aug 2009 13:53:09 +0200
  • Message-id: <4A8177C50200002900029BD8@xxxxxxxxxxxxxxxxxxx>
On 8/11/2009 at 13:47, Philipp Thomas <pth@xxxxxxx> wrote: shows why encoding system
library paths like /usr/lib and /usr/lib64 in pkgconfig files is a very bad
idea indeed.

I'd propose to add a brp script that checks for -L%{libdir} in .pc files
and fails the package if found. That way maintainers of a package that comes
with .pc files would be forced to fix their packages. I'd even volunteer to
write said brp script.


I like the idea of a brp check failing on this. It's the only way to get it
consistent and to be sure maintainers actually see it / think about it.
Do we have an estimate on how many packages are going to fail if we implement
this? (the bug report actually reads the *-config scripts as well
besides checking the *.pc files, this would probably be needed too in the same

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >