[perl] Correct perl-Locale-Codes Provides

Petr Pisar ppisar at fedoraproject.org
Thu Sep 15 09:56:21 UTC 2011


commit 0a043cd08732387f74425b48dc29d69b53fa0115
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Sep 15 10:06:10 2011 +0200

    Correct perl-Locale-Codes Provides

 perl.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 73e4e8b..6f0b945 100644
--- a/perl.spec
+++ b/perl.spec
@@ -580,8 +580,12 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
 Requires:       perl(constant)
+Provides:       perl(Locale::Codes) = %{version}
 BuildArch:      noarch
 
+# Do not export unversioned module
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Locale::Codes\\)\\s*$
+
 %description Locale-Codes
 Locale-Codes is a distribution containing a set of modules. The modules
 each deal with different types of codes which identify parts of the locale
@@ -2201,6 +2205,7 @@ sed \
 - Correct perl-CGI list of Provides
 - Make tests optional
 - Correct perl-ExtUtils-ParseXS Provides
+- Correct perl-Locale-Codes Provides
 
 * Tue Sep 13 2011 Petr Pisar <ppisar at redhat.com> - 4:5.14.1-188
 - Make gdbm support optional to bootstrap with new gdbm


More information about the scm-commits mailing list