Bug 657015

Summary: perl-Sub-WrapPackages should not provide local override perl(lib)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Sub-WrapPackagesAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Sub-WrapPackages-1.31-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-05 00:35:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2010-11-24 17:14:53 UTC
$ repoquery --repoid=dist-f15 --whatprovides 'perl(lib)'
perl-Sub-WrapPackages-0:2.0-2.fc14.noarch
perl-4:5.12.2-143.fc15.x86_64

$ perldoc lib/Sub/WrapPackages.pm

           Deferred wrapping of subs in packages that aren't yet loaded works
           via a subroutine inserted in @INC.  This means that if you mess
           around with @INC, eg by inserting a directoy at the beginning of
           the path, the magic might not get a chance to run.  If you "use
           lib" to mess with @INC though, it should work, as I've over-ridden
           lib's import() method.  That said, code this funky has no right to
           work.  Use with caution!

perl-Sub-WrapPackages Provides set clashes with perl(lib) which is currently in perl package, however it can be masked by standalone dual-live packge perl-lib in the future (http://search.cpan.org/~smueller/lib/).

Please filter perl(lib) out of Provides set in this package.

This bug is observed in F-14 and F-15.

Comment 1 Fedora Update System 2010-11-24 22:11:37 UTC
perl-Sub-WrapPackages-2.0-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-2.0-3.fc14

Comment 2 Fedora Update System 2010-11-24 22:11:43 UTC
perl-Sub-WrapPackages-1.31-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-1.31-2.fc13

Comment 3 Fedora Update System 2010-11-26 01:07:12 UTC
perl-Sub-WrapPackages-2.0-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl-Sub-WrapPackages'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-2.0-3.fc14

Comment 4 Petr Pisar 2010-11-26 09:20:26 UTC
Still not fixed because you forget this:

diff --git a/perl-Sub-WrapPackages.spec b/perl-Sub-WrapPackages.spec
index b2dcfd3..8477fc7 100644
--- a/perl-Sub-WrapPackages.spec
+++ b/perl-Sub-WrapPackages.spec
@@ -17,6 +17,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 
 %{?perl_default_filter}
 %filter_from_provides /perl(lib)/d;
+%filter_setup
 
 %description
 This is mostly a wrapper around Damian Conway's Hook::LexWrap module. This

Comment 5 Fedora Update System 2010-11-26 10:47:09 UTC
perl-Sub-WrapPackages-1.31-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-1.31-3.fc13

Comment 6 Fedora Update System 2010-11-26 10:47:16 UTC
perl-Sub-WrapPackages-2.0-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-Sub-WrapPackages-2.0-4.fc14

Comment 7 Emmanuel Seyman 2010-11-26 10:51:48 UTC
(In reply to comment #4)
>
>  %{?perl_default_filter}
>  %filter_from_provides /perl(lib)/d;
> +%filter_setup

%{?perl_default_filter} expands to (amongst other things) %filter_setup but your filters need to come before the invocation. I've reversed the filters and issued new builds.

Comment 8 Fedora Update System 2010-12-05 00:35:13 UTC
perl-Sub-WrapPackages-2.0-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-12-05 00:38:10 UTC
perl-Sub-WrapPackages-1.31-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.