diff --git a/.cvsignore b/.cvsignore index 62056f0..406043a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Scope-Guard-0.03.tar.gz +Scope-Guard-0.12.tar.gz diff --git a/auto.ini b/auto.ini new file mode 100644 index 0000000..03e7c26 --- /dev/null +++ b/auto.ini @@ -0,0 +1,2 @@ +[add_build_requires] +perl(Test::Pod)=0 diff --git a/perl-Scope-Guard.spec b/perl-Scope-Guard.spec index 43785a4..de59449 100644 --- a/perl-Scope-Guard.spec +++ b/perl-Scope-Guard.spec @@ -1,22 +1,21 @@ Name: perl-Scope-Guard -Version: 0.03 -Release: 6%{?dist} Summary: Lexically scoped resource management +Version: 0.12 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz URL: http://search.cpan.org/dist/Scope-Guard/ -Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch -# core -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -# test -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description This module provides a convenient way to perform cleanup or other forms of @@ -37,7 +36,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; @@ -52,11 +51,17 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README t/ +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Fri Apr 16 2010 Chris Weyl 0.12-1 +- update by Fedora::App::MaintainerTools 0.006 +- PERL_INSTALL_ROOT => DESTDIR +- updating to latest GA CPAN version (0.12) +- dropped old BR on perl(Test::Pod::Coverage) + * Mon Dec 7 2009 Stepan Kasal - 0.03-6 - rebuild against perl 5.10.1 diff --git a/sources b/sources index cc1367c..d8823c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a33ab0a31d837b94797e61050afff894 Scope-Guard-0.03.tar.gz +74a5c78230e219defb86954cb2ceec85 Scope-Guard-0.12.tar.gz