From 6f564035dfe95df0fe2886ffbebff3c39263fcd8 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Thu, 21 May 2015 11:45:06 +0100 Subject: Drop workaround for CPAN RT#66811, fixed upstream
--- perl-Socket6.spec | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/perl-Socket6.spec b/perl-Socket6.spec index 03fdd8d..a82ba02 100644 --- a/perl-Socket6.spec +++ b/perl-Socket6.spec @@ -1,61 +1,62 @@ -# Filter the Perl extension module -%{?perl_default_filter} - Name: perl-Socket6 Version: 0.25 -Release: 4%{?dist} +Release: 5%{?dist} Summary: IPv6 related part of the C socket.h defines and structure manipulators -Group: Development/Libraries License: BSD URL: http://search.cpan.org/dist/Socket6/ Source0: http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz +# Build: BuildRequires: perl BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) -# Run-time: +# Module: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(strict) -BuildREquires: perl(vars) +BuildRequires: perl(vars) # Tests: BuildRequires: perl(Socket) BuildRequires: perl(Test) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Run-time: +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +# Filter the Perl extension module +%{?perl_default_filter} %description -This module supports getaddrinfo() and getnameinfo() to intend to -enable protocol independent programming. -If your environment supports IPv6, IPv6 related defines such as -AF_INET6 are included. +This module supports getaddrinfo() and getnameinfo() to intend to enable +protocol independent programming. If your environment supports IPv6, IPv6 +related defines such as AF_INET6 are included. %prep %setup -q -n Socket6-%{version} -# CPAN RT #66811 -sed -i -e '/MAN3PODS/d' Makefile.PL %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 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 '*.bs' -empty -exec rm -f {} ';' -chmod -R u+w $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +%{_fixperms} %{buildroot} %check make test %files %doc ChangeLog README -%{perl_vendorarch}/Socket6* +%{perl_vendorarch}/Socket6.pm %{perl_vendorarch}/auto/Socket6/ -%{_mandir}/man3/Socket6.3pm* - +%{_mandir}/man3/Socket6.3* %changelog +* Thu May 21 2015 Paul Howarth <p...@city-fan.org> - 0.25-5 +- Drop workaround for CPAN RT#66811, fixed upstream +- Tidy spec + * Wed Aug 27 2014 Jitka Plesnikova <jples...@redhat.com> - 0.25-4 - Perl 5.20 rebuild @@ -100,13 +101,13 @@ make test - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova <mmasl...@redhat.com> - 0.23-5 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Thu May 06 2010 Marcela Maslanova <mmasl...@redhat.com> - 0.23-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal <ska...@redhat.com> - 0.23-3 -- rebuild against perl 5.10.1 +- Rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Socket6.git/commit/?h=perl-Socket6-0.25-5.fc23&id=6f564035dfe95df0fe2886ffbebff3c39263fcd8 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-de...@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-de...@lists.fedoraproject.org