Re: Exutils::MakeMaker dual-lives now

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

 



On 01/09/2012 01:02 PM, Paul Howarth wrote:
On 01/09/2012 12:55 PM, Paul Howarth wrote:
On 01/09/2012 12:20 PM, Petr Pisar wrote:
I've figured out that the problem was introduced by the update of "file"
from 5.09 to 5.10. The new version's ChangeLog includes as a recent
change "Add magic for /usr/bin/env Perl scripts", so running file on
such scripts now produces:

# file smbldap-passwd
smbldap-passwd: Perl script, ASCII text executable, with very long lines

Where it used to produce:

# file smbldap-passwd
smbldap-passwd: a /usr/bin/perl -w script, ASCII text executable, with
very long lines

Now I need to figure out why this is breaking rpm's dep-generator.

Changing /usr/lib/rpm/fileattrs/perl.attr from:

%__perl_requires %{_rpmconfigdir}/perl.req
%__perl_magic ^.perl .*$
%__perl_flags exeonly

to:

%__perl_requires %{_rpmconfigdir}/perl.req
%__perl_magic ^.*[Pp]erl .*$
%__perl_flags exeonly

Fixes the problem.

Raised: https://bugzilla.redhat.com/show_bug.cgi?id=772632

Paul.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux