Author: mmaslano Update of /cvs/pkgs/rpms/perl-version/F-12 In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17368 Modified Files: .cvsignore Added Files: perl-version.spec sources Removed Files: dead.package Log Message: * Tue Mar 09 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 0.82-1 - Specfile autogenerated by cpanspec 1.78. Index: perl-version.spec =================================================================== RCS file: perl-version.spec diff -N perl-version.spec --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ perl-version.spec 6 May 2010 15:53:05 -0000 1.13 @@ -0,0 +1,55 @@ +Name: perl-version +Epoch: 3 +Version: 0.82 +Release: 1%{?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)) + +%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. + +%prep +%setup -q -n version-%{version} +%{?perl_default_filter} + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./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 \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/version* +%{_mandir}/man3/* + +%changelog +* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 0.82-1 +- Specfile autogenerated by cpanspec 1.78. Index: sources =================================================================== RCS file: sources diff -N sources --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sources 6 May 2010 15:53:05 -0000 1.11 @@ -0,0 +1 @@ +c073f079557297003d805b535711c5d1 version-0.82.tar.gz Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-version/F-12/.cvsignore,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- .cvsignore 28 Nov 2007 20:55:15 -0000 1.9 +++ .cvsignore 6 May 2010 15:53:05 -0000 1.10 @@ -1 +1 @@ -version-0.74.tar.gz +version-0.82.tar.gz --- dead.package DELETED --- -- 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