|
|
|
@ -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@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@city-fan.org> - 1.10-1
|
|
|
|
|
- Update to 1.10
|
|
|
|
|
- Release new dist with fixed compile test
|
|
|
|
|