@ -1,13 +1,17 @@
Name: perl-Env-Sanctify
Name: perl-Env-Sanctify
Summary: Lexically scoped sanctification of %%ENV
Summary: Lexically scoped sanctification of %%ENV
Version: 1.12
Version: 1.12
Release: 17 %{?dist}
Release: 18 %{?dist}
License: GPL+ or Artistic
License: GPL+ or Artistic
URL: https://metacpan.org/release/Env-Sanctify
URL: https://metacpan.org/release/Env-Sanctify
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS /Env-Sanctify-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Env /Env-Sanctify-%{version}.tar.gz
BuildArch: noarch
BuildArch: noarch
# Build
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Module
# Module
BuildRequires: perl(strict)
BuildRequires: perl(strict)
@ -40,10 +44,9 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
%check
# Pod test modules too old prior to RHEL-7
# Pod test modules too old prior to RHEL-7
@ -54,14 +57,26 @@ make test AUTHOR_TESTING=1
%endif
%endif
%files
%files
%doc Changes LICENSE README examples/
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README examples/
%{perl_vendorlib}/Env/
%{perl_vendorlib}/Env/
%{_mandir}/man3/Env::Sanctify.3pm*
%{_mandir}/man3/Env::Sanctify.3*
%changelog
%changelog
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-17
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Sep 22 2019 Paul Howarth <paul@city-fan.org> - 1.12-17
- Spec tidy-up
- Specify all build requirements
- Simplify find command using -delete
- Drop redundant buildroot cleaning in %%install section
- Use %%license where possible
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-16
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild