pghmcfc pushed to perl-Socket6 (master). "Drop workaround for CPAN RT#66811, fixed upstream"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 21 10:51:29 UTC 2015
From 6f564035dfe95df0fe2886ffbebff3c39263fcd8 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Thu, 21 May 2015 11:45:06 +0100
Subject: Drop workaround for CPAN RT#66811, fixed upstream
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 <paul at city-fan.org> - 0.25-5
+- Drop workaround for CPAN RT#66811, fixed upstream
+- Tidy spec
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at 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 <mmaslano at 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 <mmaslano at redhat.com> - 0.23-4
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal at 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-eng at lists.fedoraproject.org> - 0.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Socket6.git/commit/?h=master&id=6f564035dfe95df0fe2886ffbebff3c39263fcd8
More information about the scm-commits
mailing list