8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
f9a9be5c37 Accepting request 862610 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/862610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Coerce?expand=0&rev=14
2021-01-13 17:21:48 +00:00
b822e48eba Accepting request 862572 from devel:languages:perl:autoupdate
- updated to 0.15
   see /usr/share/doc/packages/perl-Params-Coerce/Changes

OBS-URL: https://build.opensuse.org/request/show/862572
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Coerce?expand=0&rev=18
2021-01-12 12:03:36 +00:00
e24d995b25 Accepting request 530784 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/530784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Coerce?expand=0&rev=13
2017-10-03 21:19:42 +00:00
Stephan Kulow
3821c260e3 Accepting request 530742 from devel:languages:perl:tobefixed
fix

OBS-URL: https://build.opensuse.org/request/show/530742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Coerce?expand=0&rev=16
2017-10-03 08:53:11 +00:00
Stephan Kulow
770aafd115 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Coerce?expand=0&rev=8
2011-12-06 17:45:51 +00:00
Stephan Kulow
c221be9d9a Accepting request 92120 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Coerce?expand=0&rev=7
2011-11-21 11:44:07 +00:00
Stephan Kulow
bc7e6effb9 use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Coerce?expand=0&rev=13
2011-11-18 11:29:06 +00:00
Stephan Kulow
dda63d544f use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Coerce?expand=0&rev=12
2011-11-17 15:46:13 +00:00
Stephan Kulow
10f57dbd8e OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Coerce?expand=0&rev=10 2011-11-11 11:21:25 +00:00
Lars Vogdt
d7a12d569b Autobuild autoformatter for 54618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Coerce?expand=0&rev=4
2010-12-05 21:11:30 +00:00
5 changed files with 47 additions and 46 deletions

View File

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

View File

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

3
cpanspec.yml Normal file
View File

@@ -0,0 +1,3 @@
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Jan 9 03:09:21 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.15
see /usr/share/doc/packages/perl-Params-Coerce/Changes
-------------------------------------------------------------------
Tue Oct 3 08:19:37 UTC 2017 - coolo@suse.com
- patch the Makefile to build with perl 5.26
-------------------------------------------------------------------
Fri Nov 18 11:07:33 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Tue Nov 30 19:20:36 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Params-Coerce (Version 0.14)
# spec file for package perl-Params-Coerce
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,72 +12,54 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Params-Coerce
%define cpan_name Params-Coerce
Name: perl-Params-Coerce
Version: 0.15
Release: 0
Summary: Allows your classes to do coercion of parameters
Version: 0.14
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Params-Coerce/
#Source: http://www.cpan.org/modules/by-module/Params/Params-Coerce-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Carp)
BuildRequires: perl(Params::Util) >= 0.05
BuildRequires: perl(Scalar::Util) >= 1.11
#
Requires: perl(Carp)
Requires: perl(Params::Util) >= 0.05
Requires: perl(Scalar::Util) >= 1.11
%{perl_requires}
%description
A big part of good API design is that we should be able to be flexible in the
ways that we take parameters.
A big part of good API design is that we should be able to be flexible in
the ways that we take parameters.
Params::Coerce attempts to encourage this, by making it easier to take a
variety of different arguments, while adding negligable additional complexity
to your code.
Author:
-------
Adam Kennedy <adamk@cpan.org>
variety of different arguments, while adding negligible additional
complexity to your code.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog