[perl-IPC-Run3] Add missing BRs

Petr Šabata psabata at fedoraproject.org
Fri Nov 23 14:03:38 UTC 2012


commit 9550492120a45aa38c0aea9a971f86956d5b904e
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Nov 23 15:03:32 2012 +0100

    Add missing BRs

 perl-IPC-Run3.spec |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/perl-IPC-Run3.spec b/perl-IPC-Run3.spec
index 1216b85..ec6edd5 100644
--- a/perl-IPC-Run3.spec
+++ b/perl-IPC-Run3.spec
@@ -1,19 +1,25 @@
 Name:           perl-IPC-Run3
 Version:        0.045
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Run a subprocess in batch mode
-License:        (GPL+ or Artistic) or BSD
+License:        GPL+ or Artistic or BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/IPC-Run3/
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More) >= 0.31
 BuildRequires:  perl(Time::HiRes)
 # 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))
 
 %description
 This module allows you to run a subprocess and redirect stdin, stdout,
@@ -27,15 +33,12 @@ 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
 make %{?_smp_mflags}
 
 %install
-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/*
 
 %check
@@ -48,6 +51,11 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 23 2012 Petr Šabata <contyk at redhat.com> - 0.045-4
+- Add missing BRs
+- Drop command macros
+- Remove redundant parens from the Licence tag
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.045-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 



More information about the perl-devel mailing list