[perl/f16] Correct perl-CGI list of Provides
Petr Pisar
ppisar at fedoraproject.org
Wed Nov 2 11:28:07 UTC 2011
commit 9f2553172a60d007dc56b0ceaf966e27dac11869
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Sep 14 18:26:13 2011 +0200
Correct perl-CGI list of Provides
perl.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index bcf624f..b0e4d97 100644
--- a/perl.spec
+++ b/perl.spec
@@ -17,7 +17,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 188%{?dist}
+Release: 189%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -249,8 +249,16 @@ License: GPL+ or Artistic
Epoch: 0
Version: 3.52
Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
+Provides: perl(CGI) = %{version}
BuildArch: noarch
+# Do not export unversioned module
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(CGI\\)\\s*$
+# Do not export private modules
+%global __provides_exclude %{__provides_exclude}|^perl\\(Fh\\)\\s*$
+%global __provides_exclude %{__provides_exclude}|^perl\\(MultipartBuffer\\)\\s*$
+%global __provides_exclude %{__provides_exclude}|^perl\\(utf8\\)\\s*$
+
%description CGI
CGI.pm is a stable, complete and mature solution for processing and preparing
HTTP requests and responses. Major features including processing form
@@ -2152,6 +2160,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Wed Nov 02 2011 Petr Pisar <ppisar at redhat.com> - 4:5.14.1-189
+- Correct perl-CGI list of Provides
+
* Wed Oct 05 2011 Petr Pisar <ppisar at redhat.com> - 4:5.14.1-188
- Fix CVE-2011-3597 (code injection in Digest) (bug #743010)
- Fix CVE-2011-2939 (heap overflow while decoding Unicode string) (bug #731246)
More information about the scm-commits
mailing list