rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ralf Corsepius rc040203 at freenet.de
Mon Apr 25 08:57:44 UTC 2005


On Mon, 2005-04-25 at 10:39 +0200, Matthias Saou wrote:
> Ralf Corsepius wrote :
> 
> > The point is: The fact that %{_datadir}/.../make-dummy-cert expands
> > into /usr/share/.../make-dummy-cert is "just a random accident" and
> > "lucky coincidence".
> 
> Not really, and just a matter of POV : If you rebuild all the packages
> with a different _datadir, then your hardcoded /usr/share will be the
> problematic part.

??? Fact is, using %directory macros in calls to programs outside of a
package/calls to programs not owned by the package is wrong, because
%directory macros have a per-package scope and not a global scope.

That's one of the reasons why we use 
* /sbin/install-info and do not use %{_sbindir}/install-info
* /sbin/ldconfig and do not use %{_sbindir}/ldconfig

Ralf





More information about the fedora-extras-commits mailing list