diff --git a/.cvsignore b/.cvsignore index a12cca9..4689116 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Module-ScanDeps-0.75.tar.gz +Module-ScanDeps-0.81.tar.gz diff --git a/perl-Module-ScanDeps.spec b/perl-Module-ScanDeps.spec index 8c8361a..51e3aa8 100644 --- a/perl-Module-ScanDeps.spec +++ b/perl-Module-ScanDeps.spec @@ -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 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 - 0.75-1 - Update to 0.75. diff --git a/sources b/sources index 70da6d7..832afb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -91cc0870fe673867bc2c980847521e53 Module-ScanDeps-0.75.tar.gz +1b818de609105154a83a08ca423bf290 Module-ScanDeps-0.81.tar.gz