8
0

Accepting request 510541 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/510541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Classify?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2017-07-24 06:04:31 +00:00
committed by Git OBS Bridge
parent 3345219793
commit db0823fda0
5 changed files with 78 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Params-Classify
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,33 +15,25 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Params-Classify
Version: 0.013
Release: 1
License: GPL-1.0+ or Artistic-1.0
Version: 0.014
Release: 0
%define cpan_name Params-Classify
Summary: Argument type classification
Url: http://search.cpan.org/dist/Params-Classify/
Summary: Argument Type Classification
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Params-Classify/
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(ExtUtils::ParseXS) >= 2.2006
BuildRequires: perl(Test::More)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
#
BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util) >= 1.01
BuildRequires: perl(Module::Build)
BuildRequires: perl(parent)
Requires: perl(Exporter)
Requires: perl(Scalar::Util) >= 1.01
Requires: perl(parent)
%if 0%{?suse_version} > 1010
Recommends: perl(XSLoader)
%endif
Recommends: perl(Devel::CallChecker) >= 0.003
%{perl_requires}
%description
@@ -60,7 +52,7 @@ and so the type enforcement functions handle only the simplest requirements
for arguments of the types handled by the classification functions.
Enforcement of more complex types may, of course, be built using the
classification functions, or it may be more convenient to use a module
designed for the more complex job, such as the Params::Validate manpage.
designed for the more complex job, such as Params::Validate.
This module is implemented in XS, with a pure Perl backup version for
systems that can't handle XS.
@@ -79,9 +71,6 @@ systems that can't handle XS.
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README