[perl-Catalyst-Plugin-I18N] pass skipdeps to Makefile.PL

Iain Arnell iarnell at fedoraproject.org
Sun Feb 17 17:52:08 UTC 2013


commit be66a27f1edca5857973caf8f946973957e9879e
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Feb 17 10:52:03 2013 -0700

    pass skipdeps to Makefile.PL

 perl-Catalyst-Plugin-I18N.spec |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/perl-Catalyst-Plugin-I18N.spec b/perl-Catalyst-Plugin-I18N.spec
index 817d76f..d5da3af 100644
--- a/perl-Catalyst-Plugin-I18N.spec
+++ b/perl-Catalyst-Plugin-I18N.spec
@@ -1,12 +1,11 @@
 Name:           perl-Catalyst-Plugin-I18N
 Version:        0.10
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        I18N for Catalyst
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Plugin-I18N/
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-I18N-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Catalyst::Runtime)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -30,32 +29,29 @@ namespace.
 %setup -q -n Catalyst-Plugin-I18N-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$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
 TEST_POD=1 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Feb 17 2013 Iain Arnell <iarnell at gmail.com> 0.10-9
+- pass skipdeps to Makefile.PL
+- clean up spec for modern rpmbuild
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list