2011-10-03 14:54:39 +00:00
|
|
|
Name: perl-strictures
|
2015-02-26 13:58:49 +00:00
|
|
|
Version: 2.000000
|
2014-10-03 08:17:38 +00:00
|
|
|
Release: 1%{?dist}
|
2011-10-03 14:54:39 +00:00
|
|
|
Summary: Turn on strict and make all warnings fatal
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/strictures/
|
2014-10-03 08:17:38 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-%{version}.tar.gz
|
2011-10-03 14:54:39 +00:00
|
|
|
BuildArch: noarch
|
2014-10-03 08:17:38 +00:00
|
|
|
# Module Build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
2011-10-03 14:54:39 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2014-10-03 08:17:38 +00:00
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
# Module Runtime
|
2015-02-26 13:58:49 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2011-10-03 14:54:39 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
2014-10-03 08:17:38 +00:00
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
# Optional Tests
|
2012-04-09 20:51:52 +00:00
|
|
|
BuildRequires: perl(indirect)
|
2012-05-19 18:07:19 +00:00
|
|
|
BuildRequires: perl(multidimensional)
|
|
|
|
BuildRequires: perl(bareword::filehandles)
|
2014-10-03 08:17:38 +00:00
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2015-02-26 13:58:49 +00:00
|
|
|
Requires: perl(Carp)
|
2011-10-03 14:54:39 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package turns on strict and makes all warnings fatal.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n strictures-%{version}
|
|
|
|
|
|
|
|
%build
|
2014-10-03 08:17:38 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2011-10-03 14:54:39 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2015-02-26 13:58:49 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} %{buildroot}
|
2011-10-03 14:54:39 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
2014-10-03 08:17:38 +00:00
|
|
|
%{perl_vendorlib}/strictures.pm
|
2015-02-26 13:58:49 +00:00
|
|
|
%{perl_vendorlib}/strictures/
|
2014-10-03 08:17:38 +00:00
|
|
|
%{_mandir}/man3/strictures.3*
|
2015-02-26 13:58:49 +00:00
|
|
|
%{_mandir}/man3/strictures::extra.3*
|
2011-10-03 14:54:39 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-02-26 13:58:49 +00:00
|
|
|
* 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
|
|
|
|
|
2015-01-31 18:51:48 +00:00
|
|
|
* 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
|
|
|
|
rather than only triggering on those directories
|
|
|
|
- Avoid stat checks for VCS directories until we are in an appropriately
|
|
|
|
named file
|
|
|
|
- Various clean-ups in test files
|
|
|
|
|
2014-10-03 08:17:38 +00:00
|
|
|
* Fri Oct 3 2014 Paul Howarth <paul@city-fan.org> - 1.005005-1
|
|
|
|
- Update to 1.005005
|
|
|
|
- Detect mercurial when checking for development trees
|
|
|
|
- Avoid using constant.pm to save a bit of memory on older perls
|
|
|
|
- Update to v2 metadata
|
|
|
|
- Fix skip on old perl on test script
|
|
|
|
- Extra prereqs will be listed as hard prerequisites if a compiler is
|
|
|
|
available
|
|
|
|
- Added support for PUREPERL_ONLY (CPAN RT#91407)
|
|
|
|
- Fixed using strictures->VERSION to query the version (CPAN RT#92965)
|
|
|
|
- Make sure meta files list extra modules as recommendations, not requirements
|
|
|
|
- Include minimum perl version in metadata
|
|
|
|
- This release by HAARG → update source URL
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
2014-08-29 14:35:19 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.004004-6
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 13:05:32 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004004-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-07 23:55:19 +00:00
|
|
|
* Wed Aug 07 2013 Petr Pisar <ppisar@redhat.com> - 1.004004-4
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-08-04 02:21:08 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004004-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 16:35:44 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.004004-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-07 15:34:36 +00:00
|
|
|
* Fri Dec 07 2012 Iain Arnell <iarnell@gmail.com> 1.004004-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-09-09 17:06:15 +00:00
|
|
|
* Sun Sep 09 2012 Iain Arnell <iarnell@gmail.com> 1.004002-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-07-21 21:29:50 +00:00
|
|
|
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 1.004001-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-07-20 23:00:30 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003001-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-23 03:56:15 +00:00
|
|
|
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 1.003001-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-05-19 18:07:19 +00:00
|
|
|
* Sat May 19 2012 Iain Arnell <iarnell@gmail.com> 1.003001-2
|
|
|
|
- buildrequire multidimensional and bareword::filehandes for additional testing
|
|
|
|
|
2012-04-09 20:51:52 +00:00
|
|
|
* Mon Apr 09 2012 Iain Arnell <iarnell@gmail.com> 1.003001-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-01-14 00:14:40 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002002-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-03 14:54:39 +00:00
|
|
|
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 1.002002-2
|
|
|
|
- better description
|
|
|
|
|
|
|
|
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 1.002002-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.79.
|