Update to 0.21
- New upstream release 0.21 - Remove useless use of UNIVERSAL::isa (CPAN RT#105948) - Classify buildreqs by usage - Drop obsoletes/provides for old tests sub-package - Drop %defattr, redundant since rpm 4.4 - Don't need to remove empty directories from the buildroot - Don't use macros for common commands - Make %files list more explicit
This commit is contained in:
parent
329f4c6123
commit
3c5105cb61
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
Scope-Guard-0.12.tar.gz
|
||||
/Scope-Guard-0.20.tar.gz
|
||||
/Scope-Guard-[0-9.]*.tar.gz
|
||||
|
||||
@ -1,22 +1,27 @@
|
||||
Name: perl-Scope-Guard
|
||||
Summary: Lexically scoped resource management
|
||||
Version: 0.20
|
||||
Release: 15%{?dist}
|
||||
Version: 0.21
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Scope-Guard/
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
|
||||
# obsolete/provide old tests subpackage
|
||||
# can be removed during F23 development cycle
|
||||
Obsoletes: %{name}-tests < 0.20-11
|
||||
Provides: %{name}-tests = %{version}-%{release}
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
@ -33,27 +38,33 @@ collector.
|
||||
%setup -q -n Scope-Guard-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README t/
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/Scope/
|
||||
%{_mandir}/man3/Scope::Guard.3*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 20 2015 Paul Howarth <paul@city-fan.org> - 0.21-1
|
||||
- Update to 0.21
|
||||
- Remove useless use of UNIVERSAL::isa (CPAN RT#105948)
|
||||
- Classify buildreqs by usage
|
||||
- Drop obsoletes/provides for old tests sub-package
|
||||
- Drop %%defattr, redundant since rpm 4.4
|
||||
- Don't need to remove empty directories from the buildroot
|
||||
- Don't use macros for common commands
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user