Re: Mention %{_sharedstatedir} difference on RPMMacros for EPEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Feb 2010, Till Maas wrote:

> On Mon, Feb 15, 2010 at 06:58:42PM -0600, Garrett Holmstrom wrote:
>> 2010/2/14 Till Maas <opensource@xxxxxxxxx> 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.

%_keyringpath is nothing packagers should be concerned with. Neither is 
%_buildrootdir. These are rpm internals, unfortunately the macro namespace 
is well and thoroughly mixed up wrt what "internal" and whats not.

 	- Panu -
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux