[perl-version/f14/master] Unexport version::vxs

Petr Pisar ppisar at fedoraproject.org
Fri Apr 8 11:30:32 UTC 2011


commit ca600c9cdf06de700433a195b6aa5d1f135cda09
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Apr 8 12:24:04 2011 +0200

    Unexport version::vxs

 perl-version.spec |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/perl-version.spec b/perl-version.spec
index 378c492..131bbf4 100644
--- a/perl-version.spec
+++ b/perl-version.spec
@@ -1,7 +1,7 @@
 Name:           perl-version
 Epoch:          3
 Version:        0.88
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl extension for Version Objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -11,6 +11,11 @@ BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More) >= 0.45
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# version::vxs is private module (see bug #633775)
+%filter_from_provides /^perl(version::vxs)/d
+%filter_setup
+%{?perl_default_filter}
+
 %description
 Version objects were added to Perl in 5.10. This module implements version
 objects for older version of Perl and provides the version object API for
@@ -19,8 +24,6 @@ should not be used due to incompatible API changes. Version 0.77 introduces
 the new 'parse' and 'declare' methods to standardize usage. You are
 strongly urged to set 0.77 as a minimum in your code.
 
-%{?perl_default_filter}
-
 %prep
 %setup -q -n version-%{version}
 
@@ -33,7 +36,6 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -52,6 +54,10 @@ make test
 %{_mandir}/man3/version::Internals.3pm*
 
 %changelog
+* Fri Apr 08 2011 Petr Pisar <ppisar at redhat.com> - 3:0.88-2
+- Unexport private version::vxs module (bug #633775)
+- Remove BuildRoot stuff
+
 * Wed Jan 26 2011 Paul Howarth <paul at city-fan.org> 3:0.88-1
 - Update to 0.88
 - Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular


More information about the scm-commits mailing list