From 3260f12e4f341f3842fc320db18f9764c47b35e8 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Tue, 1 Aug 2017 16:06:24 +0200
Subject: Specify all dependencies

---
 perl-Proc-Queue.spec | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/perl-Proc-Queue.spec b/perl-Proc-Queue.spec
index 3e37f05..812fb7f 100644
--- a/perl-Proc-Queue.spec
+++ b/perl-Proc-Queue.spec
@@ -2,17 +2,31 @@
 
 Name:           perl-Proc-Queue
 Version:        1.23
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Limit the number of child processes running
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Proc-Queue/
 Source0:        
http://www.cpan.org/authors/id/S/SA/SALVA/%{pkgname}-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  corelibs
+BuildRequires:  glibc-common
+BuildRequires:  make
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Run-time
+BuildRequires:  perl(:VERSION) >= 5.6
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Errno)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(strict)
+# Tests
 BuildRequires:  perl(Test::More)
-Requires:       perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(POSIX)
+Requires:       perl(Time::HiRes)
 
 %description
 This module lets you parallelise a perl program using the fork, exit, wait
@@ -26,12 +40,11 @@ touch -r README README.new && \
 mv README.new README
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -43,6 +56,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Aug 01 2017 Jitka Plesnikova <jples...@redhat.com> - 1.23-11
+- Specify all dependencies
+
 * Thu Jul 27 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.23-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Proc-Queue.git/commit/?h=epel7&id=3260f12e4f341f3842fc320db18f9764c47b35e8
_______________________________________________
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