[perl-Socket] Specify all dependencies

Petr Pisar ppisar at fedoraproject.org
Fri May 24 13:48:31 UTC 2013


commit a54c97923ae93534dc72c169005ddbc09f647284
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri May 24 15:48:19 2013 +0200

    Specify all dependencies

 perl-Socket.spec |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/perl-Socket.spec b/perl-Socket.spec
index 1738c6c..b7636e9 100644
--- a/perl-Socket.spec
+++ b/perl-Socket.spec
@@ -1,23 +1,30 @@
 %global cpan_version 2.009
 Name:           perl-Socket
 Version:        %(eval echo '%{cpan_version}' | tr '_' '.')
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Networking constants and support functions
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Socket/
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-%{cpan_version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::CBuilder)
 BuildRequires:  perl(ExtUtils::Constant) >= 0.23
+# ExtUtils::Constant::ProxySubs not used
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 # Scalar::Util is needed only if getaddrinfo(3) does not exist. Not our case.
+BuildRequires:  perl(warnings::register)
 BuildRequires:  perl(XSLoader)
 # Tests only:
+BuildRequires:  perl(Errno)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -33,7 +40,7 @@ human-readable and native binary forms, and for hostname resolver operations.
 %setup -q -n Socket-%{cpan_version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
@@ -52,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri May 24 2013 Petr Pisar <ppisar at redhat.com> - 2.009-3
+- Specify all dependencies
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.009-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list