[perl-Socket-Netlink] Fixed overzealous Provides filter for RPM 4.8.

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

 



commit e56bdf0cf610e851b684d299ca2f3ba22d0ba93b
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Fri Sep 16 13:25:41 2011 +0800

    Fixed overzealous Provides filter for RPM 4.8.
    
    Package could not install because one essential Provides was filtered
    out.
        https://bugzilla.redhat.com/show_bug.cgi?id=738589#c2

 perl-Socket-Netlink.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/perl-Socket-Netlink.spec b/perl-Socket-Netlink.spec
index 8ba5c27..7a69802 100644
--- a/perl-Socket-Netlink.spec
+++ b/perl-Socket-Netlink.spec
@@ -1,6 +1,6 @@
 Name:           perl-Socket-Netlink
 Version:        0.03
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Interface to Linux's PF_NETLINK socket family
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -21,7 +21,7 @@ Requires:       perl(Sub::Name)
 
 ## Filter unneeded Provides with RPM 4.8
 %{?filter_setup:
-%filter_from_provides /perl(Socket::Netlink::Generic)/d
+%filter_from_provides /^perl(Socket::Netlink::Generic)$/d
 }
 %{?perl_default_filter}
 ## Filter unneeded Provides with RPM 4.9
@@ -70,6 +70,10 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 
 %changelog
+* Fri Sep 16 2011 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> 0.03-2
+- Fixed dubious Provides filtering for RPM 4.8, it was filtering out too much
+  and made the package uninstallable.
+
 * Mon Sep 12 2011 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> 0.03-1
 - Specfile autogenerated by cpanspec 1.78.
 - Slightly tweaked the specfile (removed buildroot lines, added missing BR)
--
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