[Fedora-packaging] Mention %{_sharedstatedir} difference on RPMMacros for EPEL

Till Maas opensource at till.name
Wed Feb 17 12:24:51 UTC 2010


On Mon, Feb 15, 2010 at 06:58:42PM -0600, Garrett Holmstrom wrote:
> 2010/2/14 Till Maas <opensource at till.name> wrote:
> > %{buildroot} probably fits best in the "Other macros" section, because
> > it is a macro to be used inside the spec. Bug the %{_buildrootdir}
> > macros like the other RPM directory macros is afaik supposed to be used
> > only with rpmbuild --define to change the behaviour of rpmbuild.
> 
> Was typing the nonexistent %{_buildroot} instead of %{buildroot} a typo?

Yes, I just fixed this.

> On a somewhat related note, some directory macros (e.g.,
> %_keyringpath) contain trailing slashes, while others don't.  Does
> this matter enough to be worth addressing?

%_keyringpath is not mentioned at all and according to 'rpm --showrc  |
%grep "/$"' it is the only macro with a trailing slash. So maybe this
can just be changed. But it also does not hurt that much, because afaik
a double slash in a path will be handled like a single slash.

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100217/f36112b1/attachment.bin 


More information about the packaging mailing list