Update to 2.000000
- New upstream release 2.000000 - INCOMPATIBLE CHANGE: - strictures 2 fatalizes only a subset of warnings; some warning categories are not safe to catch, or just inappropriate to have fatal - Existing code looking like 'use strictures 1;' will continue to get the old behavior of fatalizing all errors; the new behavior will take effect when no version or version 2 is specified
This commit is contained in:
parent
e96b48a631
commit
5cb191a1c2
@ -1,9 +1,8 @@
|
||||
Name: perl-strictures
|
||||
Version: 1.005006
|
||||
Version: 2.000000
|
||||
Release: 1%{?dist}
|
||||
Summary: Turn on strict and make all warnings fatal
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/strictures/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
@ -13,6 +12,7 @@ BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
@ -23,6 +23,7 @@ BuildRequires: perl(multidimensional)
|
||||
BuildRequires: perl(bareword::filehandles)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
|
||||
%description
|
||||
This package turns on strict and makes all warnings fatal.
|
||||
@ -35,9 +36,9 @@ perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -45,9 +46,20 @@ make test
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/strictures.pm
|
||||
%{perl_vendorlib}/strictures/
|
||||
%{_mandir}/man3/strictures.3*
|
||||
%{_mandir}/man3/strictures::extra.3*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 26 2015 Paul Howarth <paul@city-fan.org> - 2.000000-1
|
||||
- Update to 2.000000
|
||||
- INCOMPATIBLE CHANGE:
|
||||
- strictures 2 fatalizes only a subset of warnings; some warning categories
|
||||
are not safe to catch, or just inappropriate to have fatal
|
||||
- Existing code looking like 'use strictures 1;' will continue to get the
|
||||
old behavior of fatalizing all errors; the new behavior will take effect
|
||||
when no version or version 2 is specified
|
||||
|
||||
* Sat Jan 31 2015 Paul Howarth <paul@city-fan.org> - 1.005006-1
|
||||
- Update to 1.005006
|
||||
- Fix extra checks triggering on paths starting with t, xt, lib, or blib
|
||||
|
Loading…
Reference in New Issue
Block a user