From 6c2d3cb13f3dc4122804e940584b272d8b2e7365 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 25 Apr 2017 13:19:12 +0200
Subject: 6.14 bump

---
 .gitignore         |  1 +
 perl-Net-HTTP.spec | 17 +++++++++++------
 sources            |  2 +-
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index f987ab0..26dd1fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /Net-HTTP-6.09.tar.gz
 /Net-HTTP-6.12.tar.gz
 /Net-HTTP-6.13.tar.gz
+/Net-HTTP-6.14.tar.gz
diff --git a/perl-Net-HTTP.spec b/perl-Net-HTTP.spec
index caf7d69..d49f585 100644
--- a/perl-Net-HTTP.spec
+++ b/perl-Net-HTTP.spec
@@ -1,18 +1,19 @@
+# Do not run network tests accessing Internet
+%{bcond_with perl_Net_HTTP_enables_network_test}
+
 Name:           perl-Net-HTTP
-Version:        6.13
+Version:        6.14
 Release:        1%{?dist}
 Summary:        Low-level HTTP connection (client)
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-HTTP/
 Source0:        
http://www.cpan.org/authors/id/O/OA/OALDERS/Net-HTTP-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(:VERSION) >= 5.6.2
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(strict)
 # Run-time:
@@ -29,6 +30,7 @@ BuildRequires:  perl(vars)
 BuildRequires:  perl(warnings)
 # Tests only:
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(IO::Select)
 BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(Socket)
@@ -53,15 +55,15 @@ and HTTP/1.1.
 %setup -q -n Net-HTTP-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+export NO_NETWORK_TESTING=%{without perl_Net_HTTP_enables_network_test}
 make test
 
 %files
@@ -71,6 +73,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 25 2017 Petr Pisar <ppi...@redhat.com> - 6.14-1
+- 6.14 bump
+
 * Mon Feb 20 2017 Petr Pisar <ppi...@redhat.com> - 6.13-1
 - 6.13 bump
 
diff --git a/sources b/sources
index 9ad45ae..7f15f1c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Net-HTTP-6.13.tar.gz) = 
7c94248d03fc4b0334439a055edcf840b5dadcd2e69f05834c54e4c45908f68c2783da3189e4cd2a5f3caf51f95e483241a7e2f1f58851029c70cffc3bbfac03
+SHA512 (Net-HTTP-6.14.tar.gz) = 
381a471459295b9797ec356679ea6a057c380c5f14754098a864e169a1fe3f4bcac0bbd0b49998014ff08137020911274e487afc3ea0f89936ae5cb5eccc7c64
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Net-HTTP.git/commit/?h=f26&id=6c2d3cb13f3dc4122804e940584b272d8b2e7365
_______________________________________________
perl-devel mailing list -- perl-de...@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to