[perl-Math-Random-ISAAC] Clean up spec file

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

 



commit 5ebcd6fb4ebe5584e44084831772e9ea5785eca6
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Fri Sep 12 13:48:06 2014 +0200

    Clean up spec file

 perl-Math-Random-ISAAC.spec |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/perl-Math-Random-ISAAC.spec b/perl-Math-Random-ISAAC.spec
index bff422e..0d709fb 100644
--- a/perl-Math-Random-ISAAC.spec
+++ b/perl-Math-Random-ISAAC.spec
@@ -1,9 +1,9 @@
 Name:           perl-Math-Random-ISAAC
 Version:        1.004
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Perl interface to the ISAAC PRNG algorithm
 License:        MIT or GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/Math-Random-ISAAC/
 Source0:        http://www.cpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-%{version}.tar.gz
 BuildArch:      noarch
@@ -30,12 +30,9 @@ sed -i 's/\r//' examples/*.pl
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-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/*
 
@@ -43,12 +40,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes examples LICENSE README
+%doc Changes examples README
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 12 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.004-12
+- Fix a changelog entry date (thanks to Xavier Bachelot)
+- Use %%license
+- Clean up spec file
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.004-11
 - Perl 5.20 rebuild
 
@@ -79,5 +81,5 @@ make test
 * Fri Feb 25 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.004-2
 - Bump the release number.
 
-* Sun Feb 19 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.004-1
+* Sun Feb 20 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.004-1
 - Specfile autogenerated by cpanspec 1.78.
--
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