diff --git a/.cvsignore b/.cvsignore index a1b561e..1da6994 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -ExtUtils-Depends-0.205.tar.gz +ExtUtils-Depends-0.300.tar.gz diff --git a/perl-ExtUtils-Depends.spec b/perl-ExtUtils-Depends.spec index feb4ed3..f0a2c26 100644 --- a/perl-ExtUtils-Depends.spec +++ b/perl-ExtUtils-Depends.spec @@ -1,58 +1,61 @@ Name: perl-ExtUtils-Depends -Version: 0.205 -Release: 6%{?dist} +Version: 0.300 +Release: 1%{?dist} Summary: Easily build XS extensions that depend on XS extensions - -Group: Development/Libraries License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/ExtUtils-Depends/ -Source0: http://www.cpan.org/authors/id/R/RM/RMCFARLA/Gtk2-Perl/ExtUtils-Depends-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/T/TS/TSCH/ExtUtils-Depends-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module tries to make it easy to build Perl extensions that use -functions and typemaps provided by other perl extensions. This means -that a perl extension is treated like a shared library that provides -also a C and an XS interface besides the perl one. - +functions and typemaps provided by other perl extensions. This means that a +perl extension is treated like a shared library that provides also a C and +an XS interface besides the perl one. %prep %setup -q -n ExtUtils-Depends-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $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 Changes README -%{perl_vendorlib}/ExtUtils/ -%{_mandir}/man3/*.3pm* - +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Thu May 15 2008 Steven Pritchard 0.300-1 +- Update to 0.300. +- Clean up to match cpanspec output. +- Fix find option order. +- Use fixperms macro instead of our own chmod incantation. +- Update Source0 URL. +- BR Test::More. + * Tue Feb 5 2008 Tom "spot" Callaway - 0.205-6 - rebuild for new perl diff --git a/sources b/sources index 2226705..725994b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -02c22a93ec9efb8e457764114ce24eb4 ExtUtils-Depends-0.205.tar.gz +69061666b5f96663e0a1266c1d76ad6b ExtUtils-Depends-0.300.tar.gz