From cbbd5570812fde303db0131813f04f92f8450ecb Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Fri, 6 Jan 2017 11:31:36 +0000
Subject: Update to 2.4.6

- New upstream release 2.4.6
  - Fix test for older Perls (GH#68)
  - Define macros for older Visual Studio compiler (GH#66)
- Simplify find command using -empty and -delete
---
 .gitignore      |  2 +-
 auto.ini        | 11 -----------
 perl-Mouse.spec | 21 ++++++++++++++-------
 sources         |  2 +-
 4 files changed, 16 insertions(+), 20 deletions(-)
 delete mode 100644 auto.ini

diff --git a/.gitignore b/.gitignore
index 30ebe7c..0380cd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 /Mouse-[0-9.]*.tar.gz
-/Mouse-v2.4.5.tar.gz
+/Mouse-v[0-9.]*.tar.gz
diff --git a/auto.ini b/auto.ini
deleted file mode 100644
index 3249301..0000000
--- a/auto.ini
+++ /dev/null
@@ -1,11 +0,0 @@
-[add_build_requires]
-; "soft" requires
-perl(Class::Method::Modifiers)=0
-perl(MRO::Compat)=0
-; testing
-perl(Moose)=0
-perl(Test::Deep)=0
-perl(Test::Output)=0
-perl(Path::Class)=0
-perl(IO::File)=0
-perl(IO::String)=0
diff --git a/perl-Mouse.spec b/perl-Mouse.spec
index a839edc..7c53a2d 100644
--- a/perl-Mouse.spec
+++ b/perl-Mouse.spec
@@ -1,12 +1,14 @@
 Name:           perl-Mouse
 Summary:        Moose minus the antlers
-Version:        2.4.5
-Release:        7%{?dist}
+Version:        2.4.6
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Mouse
-Source0:        
http://search.cpan.org/CPAN/authors/id/S/SY/SYOHEX/Mouse-v%{version}.tar.gz 
+Source0:        
http://search.cpan.org/CPAN/authors/id/S/SY/SYOHEX/Mouse-v%{version}.tar.gz
 # Module Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
 BuildRequires:  perl
 BuildRequires:  perl-devel
 BuildRequires:  perl-generators
@@ -14,7 +16,6 @@ BuildRequires:  perl(Devel::PPPort) >= 3.19
 BuildRequires:  perl(ExtUtils::ParseXS)
 BuildRequires:  perl(Fatal)
 BuildRequires:  perl(File::Basename)
-BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Module::Build::XSUtil)
@@ -119,8 +120,8 @@ perl Build.PL --installdirs=vendor
 
 %install
 ./Build install --destdir=%{buildroot} --create_packlist=0
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+find %{buildroot} -type f -name '*.bs' -empty -delete
+%{_fixperms} -c %{buildroot}
 
 %check
 ./Build test
@@ -167,6 +168,12 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm 
-f {} ';'
 %{_mandir}/man3/Test::Mouse.3*
 
 %changelog
+* Fri Jan  6 2017 Paul Howarth <p...@city-fan.org> - 2.4.6-1
+- Update to 2.4.6
+  - Fix test for older Perls (GH#68)
+  - Define macros for older Visual Studio compiler (GH#66)
+- Simplify find command using -empty and -delete
+
 * Fri Sep 02 2016 Petr Pisar <ppi...@redhat.com> - 2.4.5-7
 - Enable optional test with Data::Dump::Steamer (bug #1231204)
 
@@ -334,7 +341,7 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm 
-f {} ';'
 - add perl_default_filter
 - we're no longer noarch
 - auto-update to 0.47 (by cpan-spec-update 0.01)
-- added a new br on perl(Devel::PPPort) 
+- added a new br on perl(Devel::PPPort)
 - added a new br on perl(ExtUtils::ParseXS)
 - added a new br on perl(XSLoader) (version 0.1)
 - added a new req on perl(Scalar::Util) (version 1.14)
diff --git a/sources b/sources
index a9e2fff..16820ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2183f5bc16c7d37df5cf1dacf8ef88a1  Mouse-v2.4.5.tar.gz
+SHA512 (Mouse-v2.4.6.tar.gz) = 
3427891a5249f701768342e97af4db6c6b2c1fd186f5286f13a585647581e7d3d27bd13507db00153d5446d278ada3f7bbcbeae862dc304f6094b5358c75e96f
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Mouse.git/commit/?h=perl-Mouse-2.4.6-1.fc26&id=cbbd5570812fde303db0131813f04f92f8450ecb
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to