@ -1,21 +1,17 @@
Name: perl-Env-Sanctify
Name: perl-Env-Sanctify
Summary: Lexically scoped sanctification of %%ENV
Summary: Lexically scoped sanctification of %%ENV
Version: 1.04
Version: 1.06
Release: 2 %{?dist}
Release: 1 %{?dist}
License: GPL+ or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
Group: Development/Libraries
URL: http://search.cpan.org/dist/Env-Sanctify/
URL: http://search.cpan.org/dist/Env-Sanctify/
Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Env-Sanctify-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Env-Sanctify-%{version}.tar.gz
Patch0: Env-Sanctify-1.04-UTF8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildArch: noarch
# Build
# Build
BuildRequires: perl(base)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
# Test suite
# Test suite
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Pod::Coverage)
@ -34,9 +30,6 @@ inherit.
%prep
%prep
%setup -q -n Env-Sanctify-%{version}
%setup -q -n Env-Sanctify-%{version}
# Recode documentation as UTF-8
%patch0
%build
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
make %{?_smp_mflags}
@ -48,7 +41,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%{_fixperms} %{buildroot}
%check
%check
make test
make test RELEASE_TESTING=1
%clean
%clean
rm -rf %{buildroot}
rm -rf %{buildroot}
@ -59,6 +52,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/Env::Sanctify.3pm*
%{_mandir}/man3/Env::Sanctify.3pm*
%changelog
%changelog
* Thu Mar 15 2012 Paul Howarth <paul@city-fan.org> - 1.06-1
- Update to 1.06
- Convert distribution to dzil using dzooky (fixes CPAN RT#75714)
- BR: perl(Pod::Coverage::TrustPod)
- Module::Install no longer bundled, so drop buildreqs needed by it
- Drop UTF8 patch, no longer needed
* Mon Mar 12 2012 Paul Howarth <paul@city-fan.org> - 1.04-2
* Mon Mar 12 2012 Paul Howarth <paul@city-fan.org> - 1.04-2
- Add buildreqs for modules used by bundled Module::Install (#802377)
- Add buildreqs for modules used by bundled Module::Install (#802377)