From 4b4557e0fdd264fbecb68cfa1f58fa7c861fc0f2 Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Sep 30 2016 06:20:25 +0000 Subject: Update to 1.25. - Reflect upstream having switched to ExtUtils::MakeMaker. - Simplify spec. --- diff --git a/.gitignore b/.gitignore index 6de1230..dca0951 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Params-Validate-1.24.tar.gz +/Params-Validate-1.25.tar.gz diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec index 2f942ee..2b4075c 100644 --- a/perl-Params-Validate.spec +++ b/perl-Params-Validate.spec @@ -1,22 +1,7 @@ -# Supported rpmbuild options: -# -# --with network/--without network -# include/exclude networked tests, which work in mock, but don't work in koji -# Default: --without (Exclude tests, which don't work in koji) -%bcond_with network - -# --with release-tests/--without release-tests -# Default: --with (--without when bootstrapping) -%if 0%{?perl_bootstrap} -%bcond_with release_tests -%else -%bcond_without release_tests -%endif - Summary: Params-Validate Perl module Name: perl-Params-Validate -Version: 1.24 -Release: 3%{?dist} +Version: 1.25 +Release: 1%{?dist} License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Params-Validate/ @@ -26,14 +11,18 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(Carp) -BuildRequires: perl(Module::Implementation) >= 0.04 -BuildRequires: perl(Module::Build) >= 0.37 +BuildRequires: perl(ExtUtils::MakeMaker) # 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) @@ -50,27 +39,6 @@ BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) BuildRequires: perl(Readonly) >= 1.03 -%if %{with release_tests} -# For release testing tests -BuildRequires: perl(Pod::Coverage::TrustPod) -BuildRequires: perl(LWP::Protocol::https) -BuildRequires: perl(Test::CPAN::Changes) -BuildRequires: perl(Test::EOL) -BuildRequires: perl(Test::NoTabs) -BuildRequires: perl(Test::LeakTrace) -BuildRequires: perl(Test::Pod) >= 1.41 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -BuildRequires: perl(Test::Pod::LinkCheck) -BuildRequires: perl(Test::Pod::No404s) -BuildRequires: perl(Test::Spelling) -BuildRequires: perl(Test::Synopsis) -BuildRequires: perl(Test::CPAN::Meta::JSON) >= 0.16 -BuildRequires: perl(Test::Mojibake) -BuildRequires: aspell-en -# Optional: -BuildRequires: perl(Test::Portability::Files) -%endif - %description The Params::Validate module allows you to validate method or function call parameters to an arbitrary level of specificity. At the simplest @@ -84,17 +52,15 @@ certain methods, or applying validation callbacks to arguments. %setup -q -n Params-Validate-%{version} %build -%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' - +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check -%{?with_release_tests:RELEASE_TESTING=1} %{!?with_network:SKIP_POD_NO404S=1} ./Build test +make test %files %doc Changes TODO @@ -104,6 +70,11 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %{_mandir}/man3/* %changelog +* Fri Sep 30 2016 Ralf Corsépius - 1.25-1 +- Update to 1.25. +- Reflect upstream having switched to ExtUtils::MakeMaker. +- Simplify spec. + * Wed May 18 2016 Jitka Plesnikova - 1.24-3 - Perl 5.24 re-rebuild of bootstrapped packages diff --git a/sources b/sources index 4fc7812..ddd9bcc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4e9a71351ed1d48e556b48ec774044f6 Params-Validate-1.24.tar.gz +f99ce0560bea59e9e82851c1f637d75b Params-Validate-1.25.tar.gz