[perl-rpm-build-perl] Specify more dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7de2f5bf3a031f7f3a3b04218b5321e163a0c205
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Nov 18 18:31:59 2014 +0100

    Specify more dependencies

 perl-rpm-build-perl.spec |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/perl-rpm-build-perl.spec b/perl-rpm-build-perl.spec
index 4c7e8c6..4a1a96a 100644
--- a/perl-rpm-build-perl.spec
+++ b/perl-rpm-build-perl.spec
@@ -1,6 +1,6 @@
 Name:       perl-rpm-build-perl 
 Version:    0.82
-Release:    7%{?dist}
+Release:    8%{?dist}
 # README: GPLv2+
 # perl.prov: LGPLv2+
 License:    GPLv2+
@@ -10,10 +10,13 @@ Url:        http://search.cpan.org/dist/rpm-build-perl
 Source:     http://search.cpan.org/CPAN/authors/id/A/AT/ATOURBIN/rpm-build-perl-%{version}.tar.gz 
 # Perl 5.18 compatibility, CPAN RT#85411
 Patch0:     rpm-build-perl-0.82-Fix-non-deterministic-failures-on-newer-perls.patch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker) 
+BuildRequires:  perl(strict)
 # Run-time
 BuildRequires:  perl(B)
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
@@ -22,15 +25,17 @@ BuildRequires:  perl(version)
 BuildRequires:  perl(XSLoader)
 # Tests
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(encoding)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Try::Tiny)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Carp)
 Requires:       perl(Encode)
 Requires:       perl(version)
 
 %{?perl_default_filter}
-
 # Do not export private modules
 %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(fake\\)
 
@@ -55,7 +60,7 @@ The provides/requires scripts packaged along with perl-rpm-build-perl.
 %patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
@@ -76,6 +81,9 @@ make test
 %{_mandir}/man1/*.1*
 
 %changelog
+* Tue Nov 18 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.82-8
+- Specify more dependencies (bug #1165197)
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.82-7
 - Perl 5.20 rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux