Migrate from Module::Build to ExtUtils::MakeMaker
This commit is contained in:
parent
ed0aaef2cd
commit
8f49fa96f4
@ -1,6 +1,6 @@
|
|||||||
Name: perl-IO-Socket-IP
|
Name: perl-IO-Socket-IP
|
||||||
Version: 0.37
|
Version: 0.37
|
||||||
Release: 366%{?dist}
|
Release: 367%{?dist}
|
||||||
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -8,11 +8,11 @@ URL: http://search.cpan.org/dist/IO-Socket-IP/
|
|||||||
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
# Runtime
|
# Runtime
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
@ -21,6 +21,8 @@ BuildRequires: perl(Errno)
|
|||||||
BuildRequires: perl(IO::Socket)
|
BuildRequires: perl(IO::Socket)
|
||||||
BuildRequires: perl(POSIX)
|
BuildRequires: perl(POSIX)
|
||||||
BuildRequires: perl(Socket) >= 1.97
|
BuildRequires: perl(Socket) >= 1.97
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
# Tests only
|
# Tests only
|
||||||
BuildRequires: perl(IO::Socket::INET)
|
BuildRequires: perl(IO::Socket::INET)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
@ -42,17 +44,18 @@ arguments and methods are provided in a backward-compatible way.
|
|||||||
%setup -q -n IO-Socket-IP-%{version}
|
%setup -q -n IO-Socket-IP-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Don't do the live test
|
# Don't do the live test
|
||||||
rm -f t/21nonblocking-connect-internet.t
|
rm -f t/21nonblocking-connect-internet.t
|
||||||
./Build test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -61,6 +64,9 @@ rm -f t/21nonblocking-connect-internet.t
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 0.37-367
|
||||||
|
- Migrate from Module::Build to ExtUtils::MakeMaker
|
||||||
|
|
||||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-366
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-366
|
||||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user