Accepting request 431494 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/431494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2016-10-01 22:08:10 +00:00 committed by Git OBS Bridge
commit 623a1c1d45
4 changed files with 19 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e1576f16e6e01ba63aa73775da563b410b49f26ee44169a45280feb958a5f0d
size 130994

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a6a9398ad5950097e3dfa26b3d8e83eb45dbc095629fcb55ed4fca4ddf98e40
size 136398

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Sep 27 05:55:13 UTC 2016 - coolo@suse.com
- updated to 1.25
see /usr/share/doc/packages/perl-Params-Validate/Changes
1.25 2016-09-25
- Switched to Params::Validate.
-------------------------------------------------------------------
Mon May 23 12:27:21 UTC 2016 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-Params-Validate
Version: 1.24
Version: 1.25
Release: 0
%define cpan_name Params-Validate
Summary: Validate method/function parameters
@ -29,7 +29,6 @@ Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.280000
BuildRequires: perl(Module::Implementation)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
@ -51,14 +50,15 @@ certain methods, or applying validation callbacks to arguments.
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files