Update to 0.81. Use fixperms macro instead of our own chmod incantation.
Reformat to match cpanspec output. BR ExtUtils::MakeMaker.
This commit is contained in:
parent
476f830456
commit
9b17ec35bf
@ -1 +1 @@
|
||||
Module-ScanDeps-0.75.tar.gz
|
||||
Module-ScanDeps-0.81.tar.gz
|
||||
|
@ -1,15 +1,14 @@
|
||||
Name: perl-Module-ScanDeps
|
||||
Version: 0.75
|
||||
Version: 0.81
|
||||
Release: 1%{?dist}
|
||||
Summary: Recursively scan Perl code for dependencies
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-ScanDeps/
|
||||
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Module-ScanDeps-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Module::Build::ModuleInfo)
|
||||
BuildRequires: perl(Module::Pluggable)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
@ -21,42 +20,44 @@ that contains necessary modules; this module supports two such projects,
|
||||
PAR and App::Packer. Please see their respective documentations on CPAN
|
||||
for further information.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-ScanDeps-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS Changes README
|
||||
%{_bindir}/*
|
||||
%{perl_vendorlib}/Module/
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 24 2008 Steven Pritchard <steve@kspei.com> 0.81-1
|
||||
- Update to 0.81.
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- Reformat to match cpanspec output.
|
||||
- BR ExtUtils::MakeMaker.
|
||||
|
||||
* Wed Jun 27 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.75-1
|
||||
- Update to 0.75.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user