Specify all dependencies
This commit is contained in:
parent
0670dfaeac
commit
a54c97923a
@ -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@redhat.com> - 2.009-3
|
||||
- Specify all dependencies
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.009-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user