[perl-version] Unexport version::vxs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 86ec72368565a3abb22afb7ef1e15eff171fda51
Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx>
Date:   Fri Apr 8 12:24:04 2011 +0200

    Unexport version::vxs

 perl-version.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/perl-version.spec b/perl-version.spec
index 70c3225..9478154 100644
--- a/perl-version.spec
+++ b/perl-version.spec
@@ -1,17 +1,20 @@
 Name:           perl-version
 Epoch:          3
 Version:        0.88
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl extension for Version Objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/version/
 Source0:        http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 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
+%{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
@@ -20,8 +23,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}
 
@@ -30,21 +31,15 @@ strongly urged to set 0.77 as a minimum in your code.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 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
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -58,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/version::Internals.3pm*
 
 %changelog
+* Fri Apr 08 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 3:0.88-3
+- Unexport private version::vxs module (bug #633775)
+- Remove BuildRoot stuff
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 3:0.88-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux