From 0331f72ad18bfabbdc2e790896188804cd1b1593 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Sat, 24 Jun 2017 19:44:40 +0100
Subject: Drop EL-5 support

- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %install section
- Drop explicit %clean section
---
 perl-Crypt-Primes.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/perl-Crypt-Primes.spec b/perl-Crypt-Primes.spec
index 4d5ef60..f7522a3 100644
--- a/perl-Crypt-Primes.spec
+++ b/perl-Crypt-Primes.spec
@@ -1,13 +1,11 @@
 Summary:       Provable prime number generator for cryptographic applications
 Name:          perl-Crypt-Primes
 Version:       0.50
-Release:       30%{?dist}
+Release:       31%{?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
 Patch0:                Crypt-Primes-0.50-more-stack.patch
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:     noarch
 # Module Build
 BuildRequires: coreutils
@@ -57,13 +55,9 @@ make %{?_smp_mflags}
 make test
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -delete
-%{_fixperms} %{buildroot}
-
-%clean
-rm -rf %{buildroot}
+%{_fixperms} -c %{buildroot}
 
 %files
 %doc Changes README docs/*
@@ -73,6 +67,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Crypt::Primes.3*
 
 %changelog
+* Sat Jun 24 2017 Paul Howarth <[email protected]> - 0.50-31
+- Drop EL-5 support
+  - Drop BuildRoot: and Group: tags
+  - Drop explicit buildroot cleaning in %%install section
+  - Drop explicit %%clean section
+
 * Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 
0.50-30
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Crypt-Primes.git/commit/?h=master&id=0331f72ad18bfabbdc2e790896188804cd1b1593
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to