[perl-Crypt-Primes] Spec clean-up

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

 



commit cc5374f07e1f0ab022ab781b5d175d923450d4f8
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Apr 9 17:33:43 2012 +0100

    Spec clean-up
    
    - Own directory %{perl_vendorlib}/Crypt/
    - BR: perl(Exporter)
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot

 perl-Crypt-Primes.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/perl-Crypt-Primes.spec b/perl-Crypt-Primes.spec
index 5836a6e..c16d71d 100644
--- a/perl-Crypt-Primes.spec
+++ b/perl-Crypt-Primes.spec
@@ -1,13 +1,14 @@
 Summary:	Provable prime number generator for cryptographic applications
 Name:		perl-Crypt-Primes
 Version:	0.50
-Release:	13%{?dist}
+Release:	14%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-Primes/
 Source0:	http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-Primes-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
+BuildRequires:	perl(Exporter)
 BuildRequires:	perl(Crypt::Random)	>= 0.33
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Math::Pari)	>= 2.001804
@@ -38,21 +39,25 @@ make test
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README docs/*
 %{_bindir}/largeprimes
-%{perl_vendorlib}/Crypt/Primes.pm
+%{perl_vendorlib}/Crypt/
 %{_mandir}/man1/largeprimes.1*
 %{_mandir}/man3/Crypt::Primes.3pm*
 
 %changelog
+* Mon Apr  9 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.50-14
+- Own directory %%{perl_vendorlib}/Crypt/
+- BR: perl(Exporter)
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
 * Tue Jan 10 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.50-13
 - Nobody else likes macros for commands
 
--
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