[perl-Socket-Netlink] Fixed overzealous Provides filter for RPM 4.8.
Mathieu Bridon
bochecha at fedoraproject.org
Wed Sep 21 03:12:43 UTC 2011
commit e56bdf0cf610e851b684d299ca2f3ba22d0ba93b
Author: Mathieu Bridon <bochecha at fedoraproject.org>
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 at fedoraproject.org> 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 at fedoraproject.org> 0.03-1
- Specfile autogenerated by cpanspec 1.78.
- Slightly tweaked the specfile (removed buildroot lines, added missing BR)
More information about the perl-devel
mailing list