[Bug 907704] Use the plain `perl` command instead of the `%{_perl}` macro in generated specfiles
bugzilla at redhat.com
bugzilla at redhat.com
Tue Feb 5 13:46:06 UTC 2013
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=907704
Ralf Corsepius <rc040203 at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rc040203 at freenet.de
--- Comment #3 from Ralf Corsepius <rc040203 at freenet.de> ---
(In reply to comment #2)
> Main packaging guidelines discourage using macros for plain commands
> <https://fedoraproject.org/wiki/Packaging:Guidelines#Macros>:
>
> Macro forms of system executables SHOULD NOT be used except when there is a
> need to allow the location of those executables to be configurable. For
> example, rm should be used in preference to %{__rm}, but %{__python} is
> acceptable.
a) %__perl is in a similar position as %__python.
b) The wording "SHOULD NOT" means %__perl or other macros are _allowed_
=> It's up to a packager's discretion to use it or not. I encourage people to
use it and consider people enforcing plain "perl" to commit a mistake.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=a7BSOVxyBS&a=cc_unsubscribe
More information about the perl-devel
mailing list