- 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)
This commit is contained in:
parent
c0f8fd6068
commit
6bc44a2069
@ -1 +1 @@
|
||||
namespace-clean-0.11.tar.gz
|
||||
namespace-clean-0.13.tar.gz
|
||||
|
@ -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 <cweyl@alumni.drew.edu> 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 <skasal@redhat.com> - 0.11-3
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user