From 6bc44a2069a2a01973afa31c08b8088f61db5d3f Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Fri, 5 Feb 2010 18:21:54 +0000 Subject: [PATCH] - update filtering perl_default_filter - auto-update to 0.13 (by cpan-spec-update 0.01) - altered br on perl(ExtUtils::MakeMaker) (0 => 6.42) - added a new br on perl(Sub::Identify) (version 0.04) - added a new br on perl(Sub::Name) (version 0.04) - altered br on perl(Test::More) (0.62 => 0.88) - added a new br on CPAN (inc::Module::AutoInstall found) - added a new req on perl(B::Hooks::EndOfScope) (version 0.07) - added a new req on perl(Sub::Identify) (version 0.04) - added a new req on perl(Sub::Name) (version 0.04) - added a new req on perl(Symbol) (version 0) --- .cvsignore | 2 +- perl-namespace-clean.spec | 64 +++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.cvsignore b/.cvsignore index f796ede..4e7abd5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -namespace-clean-0.11.tar.gz +namespace-clean-0.13.tar.gz diff --git a/perl-namespace-clean.spec b/perl-namespace-clean.spec index e9cee4a..3518bb5 100644 --- a/perl-namespace-clean.spec +++ b/perl-namespace-clean.spec @@ -1,21 +1,31 @@ -Name: perl-namespace-clean -Version: 0.11 -Release: 3%{?dist} -License: GPL+ or Artistic +Name: perl-namespace-clean +Version: 0.13 +Release: 1%{?dist} +License: GPL+ or Artistic Group: Development/Libraries -Summary: Keep your namespace tidy -Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/namespace-clean-%{version}.tar.gz +Summary: Keep your namespace tidy +Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/namespace-clean-%{version}.tar.gz Url: http://search.cpan.org/dist/namespace-clean -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(FindBin) BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07 BuildRequires: perl(Symbol) -BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Sub::Identify) >= 0.04 +BuildRequires: perl(Sub::Name) >= 0.04 +BuildRequires: perl(CPAN) + +Requires: perl(B::Hooks::EndOfScope) >= 0.07 +Requires: perl(Sub::Identify) >= 0.04 +Requires: perl(Sub::Name) >= 0.04 +Requires: perl(Symbol) + +%{?perl_default_filter} %description When you define a function, or import one, into a Perl package, it will @@ -32,25 +42,6 @@ name, but they won't show up as methods on your class or instances. %prep %setup -q -n namespace-clean-%{version} -# note we first filter out the bits in _docdir... -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} `perl -p -e 's|%{_docdir}/%{name}-%{version}\S+||'` -EOF - -%define __perl_provides %{_builddir}/namespace-clean-%{version}/%{name}-prov -chmod +x %{__perl_provides} - -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` -EOF - -%define __perl_requires %{_builddir}/namespace-clean-%{version}/%{name}-req -chmod +x %{__perl_requires} - - - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -68,15 +59,28 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' make test %clean -rm -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README t/ +%doc Changes README t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Fri Feb 05 2010 Chris Weyl 0.13-1 +- update filtering perl_default_filter +- auto-update to 0.13 (by cpan-spec-update 0.01) +- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42) +- added a new br on perl(Sub::Identify) (version 0.04) +- added a new br on perl(Sub::Name) (version 0.04) +- altered br on perl(Test::More) (0.62 => 0.88) +- added a new br on CPAN (inc::Module::AutoInstall found) +- added a new req on perl(B::Hooks::EndOfScope) (version 0.07) +- added a new req on perl(Sub::Identify) (version 0.04) +- added a new req on perl(Sub::Name) (version 0.04) +- added a new req on perl(Symbol) (version 0) + * Mon Dec 7 2009 Stepan Kasal - 0.11-3 - rebuild against perl 5.10.1 diff --git a/sources b/sources index e6f8f81..69775bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -480c3735ffe40b491a4700df5e8659a3 namespace-clean-0.11.tar.gz +6703af0d6fa1a82b912c8c5ff4e75530 namespace-clean-0.13.tar.gz