[perl-LWP-Protocol-https] RPM 4.9 dependency filtering added
Petr Pisar
ppisar at fedoraproject.org
Mon Jul 25 12:13:07 UTC 2011
commit 604cd83eb6afb43a9012c83ceacf70b9f8167c57
Author: Petr Pisar <ppisar at redhat.com>
Date: Mon Jul 25 14:11:59 2011 +0200
RPM 4.9 dependency filtering added
perl-LWP-Protocol-https.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-LWP-Protocol-https.spec b/perl-LWP-Protocol-https.spec
index 1fb6e1d..9fa4d30 100644
--- a/perl-LWP-Protocol-https.spec
+++ b/perl-LWP-Protocol-https.spec
@@ -1,7 +1,7 @@
%bcond_with tests # Tests require network access
Name: perl-LWP-Protocol-https
Version: 6.02
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Provide HTTPS support for LWP::UserAgent
License: GPL+ or Artistic
Group: Development/Libraries
@@ -24,8 +24,11 @@ Requires: perl(Mozilla::CA) >= 20110101
Requires: perl(Net::HTTPS) >= 6
# Remove underspecified dependencies
+# RPM 4.8 style
%filter_from_requires /^perl(Net::HTTPS)\s*$/d
%filter_setup
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$
%description
The LWP::Protocol::https module provides support for using HTTPS schemed
@@ -56,6 +59,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_mandir}/man3/*
%changelog
+* Mon Jul 25 2011 Petr Pisar <ppisar at redhat.com> - 6.02-4
+- RPM 4.9 dependency filtering added
+
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 6.02-3
- Perl mass rebuild
More information about the scm-commits
mailing list