[perl-Lingua-EN-Tagger] clean up spec for modern rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit fb632d8ffecf2e7669f94f1c529d234558566b8d
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun May 13 10:23:58 2012 -0600

    clean up spec for modern rpmbuild

 perl-Lingua-EN-Tagger.spec |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/perl-Lingua-EN-Tagger.spec b/perl-Lingua-EN-Tagger.spec
index 5d77c4f..748a2d7 100644
--- a/perl-Lingua-EN-Tagger.spec
+++ b/perl-Lingua-EN-Tagger.spec
@@ -42,10 +42,9 @@ morphology or can be set to be treated as nouns or other parts of speech.
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$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/*
 
@@ -53,7 +52,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/*
 %{_mandir}/man3/*
@@ -61,6 +59,7 @@ make test
 %changelog
 * Sun May 13 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.18-1
 - update to latest upstream version
+- clean up spec for modern rpmbuild
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.16-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
--
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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux