[perl-strictures] Update to 2.000000

Paul Howarth pghmcfc at fedoraproject.org
Thu Feb 26 14:01:47 UTC 2015


commit 5cb191a1c2e99048e41b208425dd19c93b5a8eb7
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Feb 26 13:58:49 2015 +0000

    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

 perl-strictures.spec | 22 +++++++++++++++++-----
 sources              |  2 +-
 2 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/perl-strictures.spec b/perl-strictures.spec
index 1c857ae..505b80d 100644
--- a/perl-strictures.spec
+++ b/perl-strictures.spec
@@ -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 at 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 at city-fan.org> - 1.005006-1
 - Update to 1.005006
   - Fix extra checks triggering on paths starting with t, xt, lib, or blib
diff --git a/sources b/sources
index bbe62c5..cbc9445 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb99a23bbd746e9c9bdec9fadacfd882  strictures-1.005006.tar.gz
+272d98533003581f42cafebfd95bfc5b  strictures-2.000000.tar.gz


More information about the scm-commits mailing list