- update by Fedora::App::MaintainerTools 0.003

- PERL_INSTALL_ROOT => DESTDIR
This commit is contained in:
Chris Weyl 2010-02-23 08:25:26 +00:00
parent 6bc44a2069
commit e8a3c365d3

View File

@ -1,31 +1,32 @@
Name: perl-namespace-clean
Summary: Keep your namespace tidy
Version: 0.13
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: 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)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
Name: perl-namespace-clean BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
Version: 0.13 BuildRequires: perl(CPAN)
Release: 1%{?dist} BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
License: GPL+ or Artistic BuildRequires: perl(FindBin)
Group: Development/Libraries BuildRequires: perl(Sub::Identify) >= 0.04
Summary: Keep your namespace tidy BuildRequires: perl(Sub::Name) >= 0.04
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/namespace-clean-%{version}.tar.gz BuildRequires: perl(Symbol)
Url: http://search.cpan.org/dist/namespace-clean BuildRequires: perl(Test::More) >= 0.88
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) >= 6.42
BuildRequires: perl(FindBin)
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
BuildRequires: perl(Symbol)
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(B::Hooks::EndOfScope) >= 0.07
Requires: perl(Sub::Identify) >= 0.04 Requires: perl(Sub::Identify) >= 0.04
Requires: perl(Sub::Name) >= 0.04 Requires: perl(Sub::Name) >= 0.04
Requires: perl(Symbol) Requires: perl(Symbol)
%{?perl_default_filter} %{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description %description
When you define a function, or import one, into a Perl package, it will When you define a function, or import one, into a Perl package, it will
@ -49,7 +50,7 @@ make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} 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} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@ -63,11 +64,15 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README t/ %doc Changes README
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Tue Feb 23 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.13-2
- update by Fedora::App::MaintainerTools 0.003
- PERL_INSTALL_ROOT => DESTDIR
* Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1 * Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
- update filtering perl_default_filter - update filtering perl_default_filter
- auto-update to 0.13 (by cpan-spec-update 0.01) - auto-update to 0.13 (by cpan-spec-update 0.01)