- update by Fedora::App::MaintainerTools 0.003
- PERL_INSTALL_ROOT => DESTDIR
This commit is contained in:
parent
6bc44a2069
commit
e8a3c365d3
@ -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
|
||||
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
|
||||
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
|
||||
|
||||
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)
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
BuildRequires: perl(CPAN)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(Sub::Identify) >= 0.04
|
||||
BuildRequires: perl(Sub::Name) >= 0.04
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
|
||||
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}
|
||||
%{?perl_default_subpackage_tests}
|
||||
|
||||
%description
|
||||
When you define a function, or import one, into a Perl package, it will
|
||||
@ -49,7 +50,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 ';'
|
||||
|
||||
@ -63,11 +64,15 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README t/
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%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
|
||||
- update filtering perl_default_filter
|
||||
- auto-update to 0.13 (by cpan-spec-update 0.01)
|
||||
|
Loading…
Reference in New Issue
Block a user