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.
epel9
Steven Pritchard 17 years ago
parent 53f52f9829
commit 30e6399062

@ -1 +1 @@
ExtUtils-Depends-0.205.tar.gz ExtUtils-Depends-0.300.tar.gz

@ -1,58 +1,61 @@
Name: perl-ExtUtils-Depends Name: perl-ExtUtils-Depends
Version: 0.205 Version: 0.300
Release: 6%{?dist} Release: 1%{?dist}
Summary: Easily build XS extensions that depend on XS extensions Summary: Easily build XS extensions that depend on XS extensions
Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/ExtUtils-Depends/ 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
This module tries to make it easy to build Perl extensions that use This module tries to make it easy to build Perl extensions that use
functions and typemaps provided by other perl extensions. This means functions and typemaps provided by other perl extensions. This means that a
that a perl extension is treated like a shared library that provides perl extension is treated like a shared library that provides also a C and
also a C and an XS interface besides the perl one. an XS interface besides the perl one.
%prep %prep
%setup -q -n ExtUtils-Depends-%{version} %setup -q -n ExtUtils-Depends-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$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 %check
make test make test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorlib}/ExtUtils/ %{perl_vendorlib}/*
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*
%changelog %changelog
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 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 <tcallawa@redhat.com> - 0.205-6 * Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.205-6
- rebuild for new perl - rebuild for new perl

@ -1 +1 @@
02c22a93ec9efb8e457764114ce24eb4 ExtUtils-Depends-0.205.tar.gz 69061666b5f96663e0a1266c1d76ad6b ExtUtils-Depends-0.300.tar.gz

Loading…
Cancel
Save