[perl-Env-Sanctify] Update to 1.12

Paul Howarth pghmcfc at fedoraproject.org
Mon Feb 17 10:20:05 UTC 2014


commit 3879a5c0f9640ca0c6fdbb1aaac91b199eb2b4e6
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Feb 17 10:19:58 2014 +0000

    Update to 1.12
    
    - New upstream release 1.12
      - Added test for sanctification plus adding an env variable
    - Don't run the Pod tests for EL-5/EL-6 builds

 perl-Env-Sanctify.spec |   19 ++++++++++++++++---
 sources                |    2 +-
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/perl-Env-Sanctify.spec b/perl-Env-Sanctify.spec
index 5a414ac..2151991 100644
--- a/perl-Env-Sanctify.spec
+++ b/perl-Env-Sanctify.spec
@@ -1,6 +1,6 @@
 Name:		perl-Env-Sanctify
 Summary:	Lexically scoped sanctification of %%ENV
-Version:	1.10
+Version:	1.12
 Release:	1%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -9,13 +9,16 @@ Source0:	http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Env-Sanctify-%{versi
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+# Module
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
 # Test suite
 BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(IO::Handle)
 BuildRequires:	perl(IPC::Open3)
 BuildRequires:	perl(Pod::Coverage::TrustPod)
-BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::More) >= 0.47
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
 # Runtime
@@ -44,7 +47,12 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
+# Pod test modules too old prior to RHEL-7
+%if 0%{?fedora} || 0%{?rhel} > 6
 make test AUTHOR_TESTING=1 RELEASE_TESTING=1
+%else
+make test AUTHOR_TESTING=1
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -55,6 +63,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Env::Sanctify.3pm*
 
 %changelog
+* Mon Feb 17 2014 Paul Howarth <paul at city-fan.org> - 1.12-1
+- Update to 1.12
+  - Added test for sanctification plus adding an env variable
+- Don't run the Pod tests for EL-5/EL-6 builds
+
 * Fri Sep 27 2013 Paul Howarth <paul at city-fan.org> - 1.10-1
 - Update to 1.10
   - Release new dist with fixed compile test
diff --git a/sources b/sources
index b525bcd..179b001 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eb73cab014fb60e0795618589dbc6565  Env-Sanctify-1.10.tar.gz
+d84cbd3edb45584d074684e4d8114e64  Env-Sanctify-1.12.tar.gz



More information about the perl-devel mailing list