From 337e23a107cb663f93febf8bf7b8c519e9c1a0d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Thu, 23 Feb 2017 06:26:04 +0100
Subject: Update to 1.15. Modernize spec.

---
 .gitignore            |  2 +-
 perl-Test-Script.spec | 18 ++++++++++++------
 sources               |  2 +-
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index c1dc838..68e9a2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-Script-1.14.tar.gz
+/Test-Script-1.15.tar.gz
diff --git a/perl-Test-Script.spec b/perl-Test-Script.spec
index 50cd739..1cea502 100644
--- a/perl-Test-Script.spec
+++ b/perl-Test-Script.spec
@@ -1,13 +1,15 @@
 Name:           perl-Test-Script
-Version:        1.14
-Release:        2%{?dist}
+Version:        1.15
+Release:        1%{?dist}
 Summary:        Cross-platform basic tests for scripts
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Script/
 Source0:        
http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Script-%{version}.tar.gz
 BuildArch:      noarch
 
+BuildRequires:  %{__perl}
+BuildRequires:  %{__make}
+
 BuildRequires:  perl-generators
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
@@ -37,14 +39,14 @@ in the bin directory of your Perl distribution.
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+%{__make} test
 
 %files
 %doc Changes README
@@ -53,6 +55,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Feb 23 2017 Ralf Corsépius <corse...@fedoraproject.org> - 1.15-1
+- Update to 1.15.
+- Modernize spec.
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.14-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
diff --git a/sources b/sources
index 144926c..033c447 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-553ede1bad340d65e99258863e07f653  Test-Script-1.14.tar.gz
+SHA512 (Test-Script-1.15.tar.gz) = 
b692558e0b3545643de7b98e88244ee17f963a6df131089763ae0c4d3e641223925f3af458193299f991dacbf7c0ec0598e4c4c26357515aaacce28920a3d4eb
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Test-Script.git/commit/?h=f25&id=337e23a107cb663f93febf8bf7b8c519e9c1a0d4
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to