|
|
|
@ -1,20 +1,20 @@
|
|
|
|
|
Name: perl-libnet
|
|
|
|
|
Version: 3.08
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 3.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Perl clients for various network protocols
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/libnet/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/libnet-%{version}.tar.gz
|
|
|
|
|
# Convert Changes to UTF-8
|
|
|
|
|
Patch0: libnet-3.08-Normalize-Changes-encoding.patch
|
|
|
|
|
Patch0: libnet-3.09-Normalize-Changes-encoding.patch
|
|
|
|
|
# Do not create Net/libnet.cfg, bug #1238689
|
|
|
|
|
Patch1: libnet-3.08-Do-not-create-Net-libnet.cfg.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
|
|
|
|
# Getopt::Std not used because of Do-not-create-Net-libnet.cfg.patch
|
|
|
|
|
# IO::File not used because of Do-not-create-Net-libnet.cfg.patch
|
|
|
|
@ -33,7 +33,7 @@ BuildRequires: perl(IO::Select)
|
|
|
|
|
BuildRequires: perl(IO::Socket) >= 1.05
|
|
|
|
|
# Prefer IO::Socket::IP over IO::Socket::INET6 and IO::Socket::INET
|
|
|
|
|
# IO::Socket::INET6 not used
|
|
|
|
|
BuildRequires: perl(IO::Socket::IP) >= 0.20
|
|
|
|
|
BuildRequires: perl(IO::Socket::IP) >= 0.25
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Socket) >= 2.016
|
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
@ -42,7 +42,7 @@ BuildRequires: perl(Time::Local)
|
|
|
|
|
# Authen::SASL not used at tests
|
|
|
|
|
# Digest::MD5 not used at tests
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
# Core modules must built without non-core dependencies
|
|
|
|
|
# Core modules must be built without non-core dependencies
|
|
|
|
|
BuildRequires: perl(IO::Socket::SSL) >= 2.007
|
|
|
|
|
%endif
|
|
|
|
|
# MD5 not used because we prefer Digest::MD5
|
|
|
|
@ -55,7 +55,7 @@ BuildRequires: perl(IO::File)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
# Core modules must built without non-core dependencies
|
|
|
|
|
# Core modules must be built without non-core dependencies
|
|
|
|
|
BuildRequires: perl(IO::Socket::SSL::Utils)
|
|
|
|
|
%endif
|
|
|
|
|
# Test::CPAN::Changes not used
|
|
|
|
@ -66,9 +66,19 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
|
Requires: perl(IO::Socket) >= 1.05
|
|
|
|
|
# Prefer IO::Socket::IP over IO::Socket::INET6 and IO::Socket::INET
|
|
|
|
|
Requires: perl(IO::Socket::IP) >= 0.20
|
|
|
|
|
Requires: perl(IO::Socket::IP) >= 0.25
|
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
|
Requires: perl(Socket) >= 2.016
|
|
|
|
|
# Optional run-time:
|
|
|
|
|
# Core modules must be built without non-core dependencies
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
Suggests: perl(Authen::SASL)
|
|
|
|
|
%endif
|
|
|
|
|
Suggests: perl(Digest::MD5)
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
Suggests: perl(IO::Socket::SSL) >= 2.007
|
|
|
|
|
%endif
|
|
|
|
|
Suggests: perl(MIME::Base64)
|
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
|
|
|
|
|
|
# Filter under-specified dependencies
|
|
|
|
@ -90,7 +100,7 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -103,6 +113,15 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.10-1
|
|
|
|
|
- 3.10 bump
|
|
|
|
|
|
|
|
|
|
* Wed Jul 27 2016 Petr Pisar <ppisar@redhat.com> - 3.09-2
|
|
|
|
|
- Fix blocking in Net::FTP and other subclasses (bug #1360610)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2016 Petr Pisar <ppisar@redhat.com> - 3.09-1
|
|
|
|
|
- 3.09 bump
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.08-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|