commit aed7aecd8ead7c4316d2c013e5d7a7577d1481fa Author: Ruediger Landmann <r.landmann@xxxxxxxxxx> Date: Thu Jan 16 16:40:23 2014 +1000 clean buildroot in el5 perl-XML-Catalog.spec | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) --- diff --git a/perl-XML-Catalog.spec b/perl-XML-Catalog.spec index bfc55ad..242d793 100644 --- a/perl-XML-Catalog.spec +++ b/perl-XML-Catalog.spec @@ -3,7 +3,7 @@ Name: perl-XML-Catalog Version: %(echo '%{cpan_version}' | tr -d 'v') -Release: 1%{?dist} +Release: 2%{?dist} Summary: Resolve public identifiers and remap system identifiers License: GPL+ or Artistic Group: Development/Libraries @@ -40,10 +40,11 @@ for i in Changes README; do sed -i 's/\r//' $i done -perl Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor 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 {} \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -51,12 +52,18 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %check make test +%clean +rm -rf $RPM_BUILD_ROOT + %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Jan 16 2014 Rüdiger Landmann <rlandmann@xxxxxxxxxx> - 1.0.1-2 +- Clean buildroot in el5 + * Mon Jan 13 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.0.1-1 - 1.0.1 bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel