pghmcfc pushed to perl-IO-Socket-INET6 (perl-IO-Socket-INET6-2.72-4.fc23). "Spec tidy-up (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 21 12:22:40 UTC 2015


From 4f921ae5ff2059b7a62df03ecf118e6cd47be812 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Thu, 21 May 2015 12:02:43 +0100
Subject: Spec tidy-up

- Classify buildreqs by usage
- Use %license

diff --git a/perl-IO-Socket-INET6.spec b/perl-IO-Socket-INET6.spec
index 5e53885..282aa1c 100644
--- a/perl-IO-Socket-INET6.spec
+++ b/perl-IO-Socket-INET6.spec
@@ -1,20 +1,33 @@
 Name:           perl-IO-Socket-INET6
 Version:        2.72
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Perl Object interface for AF_INET|AF_INET6 domain sockets
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/~mondejar/IO-Socket-INET6/
 Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(Carp)
+# Module Build
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Errno)
 BuildRequires:  perl(IO::Socket)
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(Socket6) >= 0.12
+BuildRequires:  perl(strict)
+# Test Suite
+BuildRequires:  perl(Config)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Optional Tests
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+BuildRequires:  perl(Test::TrailingSpace)
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -36,11 +49,16 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 make test
 
 %files
-%doc ChangeLog LICENSE README
+%license LICENSE
+%doc ChangeLog README
 %{perl_vendorlib}/IO/
-%{_mandir}/man3/IO::Socket::INET6.3pm*
+%{_mandir}/man3/IO::Socket::INET6.3*
 
 %changelog
+* Thu May 21 2015 Paul Howarth <paul at city-fan.org> - 2.72-4
+- Classify buildreqs by usage
+- Use %%license
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.72-3
 - Perl 5.20 rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-IO-Socket-INET6.git/commit/?h=perl-IO-Socket-INET6-2.72-4.fc23&id=4f921ae5ff2059b7a62df03ecf118e6cd47be812


More information about the scm-commits mailing list