commit a4503822f53f3df0cb7294bd1381a4a316382719 Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Fri Apr 8 12:24:04 2011 +0200 Unexport version::vxs perl-version.spec | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) --- diff --git a/perl-version.spec b/perl-version.spec index 6de2c16..8ebb36f 100644 --- a/perl-version.spec +++ b/perl-version.spec @@ -1,24 +1,28 @@ Name: perl-version Epoch: 3 Version: 0.82 -Release: 1%{?dist} +Release: 2%{?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 +%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 all versions of Perl. All previous releases before 0.74 are deprecated and 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, e.g. +strongly urged to set 0.77 as a minimum in your code. %prep %setup -q -n version-%{version} @@ -29,20 +33,14 @@ strongly urged to set 0.77 as a minimum in your code, e.g. ./Build %install -rm -rf $RPM_BUILD_ROOT - ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 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 \; - +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc Changes README @@ -51,5 +49,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Apr 08 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 3:0.82-2 +- Unexport private version::vxs module (bug #633775) +- Remove BuildRoot stuff +- Correct description text + * Tue Mar 09 2010 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 0.82-1 - Specfile autogenerated by cpanspec 1.78. -- 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