From 7db5f7c4dd329c1bc2cd927167dafa08c6f643da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Wed, 27 Jan 2016 18:55:11 +0100
Subject: Add %license.

- Modernize spec.
---
 perl-IPC-Run3.spec | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/perl-IPC-Run3.spec b/perl-IPC-Run3.spec
index 374ea5f..ba17ede 100644
--- a/perl-IPC-Run3.spec
+++ b/perl-IPC-Run3.spec
@@ -1,6 +1,6 @@
 Name:           perl-IPC-Run3
 Version:        0.048
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Run a subprocess in batch mode
 License:        GPL+ or Artistic or BSD
 Group:          Development/Libraries
@@ -23,7 +23,7 @@ BuildRequires:  perl(strict)
 # For improved tests
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Test::Pod)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 # RHBZ #1062267 / https://rt.cpan.org/Public/Bug/Display.html?id=52317
 # Patch from
@@ -44,23 +44,27 @@ API and none of the bloat and rarely used features of 
IPC::Run.
 find -type f -exec chmod -x {} \;
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test RELEASE_TESTING=1
 
 %files
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 27 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.048-6
+- Add %%license.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.048-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-IPC-Run3.git/commit/?h=master&id=7db5f7c4dd329c1bc2cd927167dafa08c6f643da
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to