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:
Steven Pritchard 2008-01-24 19:06:03 +00:00
parent 476f830456
commit 9b17ec35bf
3 changed files with 20 additions and 19 deletions

View File

@ -1 +1 @@
Module-ScanDeps-0.75.tar.gz
Module-ScanDeps-0.81.tar.gz

View File

@ -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.

View File

@ -1 +1 @@
91cc0870fe673867bc2c980847521e53 Module-ScanDeps-0.75.tar.gz
1b818de609105154a83a08ca423bf290 Module-ScanDeps-0.81.tar.gz