From 7bd138ca951e691be137770590f39c7080803034 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sun, 9 Oct 2016 09:10:59 +0200
Subject: Update to 1.26.

- Reflect upstream having reverted to Module::Build, again ;)
---
 .gitignore                |  2 +-
 perl-Params-Validate.spec | 26 ++++++++++++++------------
 sources                   |  2 +-
 3 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/.gitignore b/.gitignore
index dca0951..d2dfb07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Params-Validate-1.25.tar.gz
+/Params-Validate-1.26.tar.gz
diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec
index 2b4075c..c92930d 100644
--- a/perl-Params-Validate.spec
+++ b/perl-Params-Validate.spec
@@ -1,6 +1,6 @@
 Summary:       Params-Validate Perl module
 Name:          perl-Params-Validate
-Version:       1.25
+Version:       1.26
 Release:       1%{?dist}
 License:       Artistic 2.0
 Group:                 Development/Libraries
@@ -11,18 +11,14 @@ Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} 
-V:version`"; echo $version))
 
 BuildRequires:  perl-devel
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Module::Implementation) >= 0.04
+BuildRequires:  perl(Module::Build) >= 0.28
 
 # Run-time:
-BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Scalar::Util) >= 1.20
 BuildRequires:  perl(XSLoader)
-BuildRequires:  perl(Module::Implementation)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(vars)
-BuildRequires:  perl(warnings)
-
 
 # Required by the tests
 BuildRequires:  perl(base)
@@ -52,15 +48,17 @@ certain methods, or applying validation callbacks to 
arguments.
 %setup -q -n Params-Validate-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
 %doc Changes TODO
@@ -70,6 +68,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Oct 09 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.26-1
+- Update to 1.26.
+- Reflect upstream having reverted to Module::Build, again ;)
+
 * Fri Sep 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.25-1
 - Update to 1.25.
 - Reflect upstream having switched to ExtUtils::MakeMaker.
diff --git a/sources b/sources
index ddd9bcc..081e082 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f99ce0560bea59e9e82851c1f637d75b  Params-Validate-1.25.tar.gz
+2e7bf5293fde78210f085c4ff32ee342  Params-Validate-1.26.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Params-Validate.git/commit/?h=f23&id=7bd138ca951e691be137770590f39c7080803034
_______________________________________________
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