2012-05-22 17:58:54 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-List-AllUtils
|
|
|
|
#
|
2018-12-13 12:54:12 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-05-22 17:58:54 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-13 12:54:12 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-22 17:58:54 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-02-17 15:28:42 +01:00
|
|
|
Name: perl-List-AllUtils
|
2018-12-13 12:54:12 +01:00
|
|
|
Version: 0.15
|
2011-02-17 15:28:42 +01:00
|
|
|
Release: 0
|
2013-10-04 19:27:50 +02:00
|
|
|
%define cpan_name List-AllUtils
|
2016-06-27 12:45:30 +02:00
|
|
|
Summary: Combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized[cut]
|
2013-10-04 19:27:50 +02:00
|
|
|
License: Artistic-2.0
|
2012-05-29 10:32:07 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2018-12-13 12:54:12 +01:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
2017-02-13 19:38:02 +01:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
2016-06-27 12:45:30 +02:00
|
|
|
Source1: cpanspec.yml
|
2013-10-04 19:27:50 +02:00
|
|
|
BuildArch: noarch
|
2012-05-22 17:58:54 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-04 19:27:50 +02:00
|
|
|
BuildRequires: perl
|
2011-02-17 15:28:42 +01:00
|
|
|
BuildRequires: perl-macros
|
2018-12-13 12:54:12 +01:00
|
|
|
BuildRequires: perl(List::SomeUtils) >= 0.56
|
2016-06-27 12:45:30 +02:00
|
|
|
BuildRequires: perl(List::Util) >= 1.45
|
2018-12-13 12:54:12 +01:00
|
|
|
BuildRequires: perl(List::UtilsBy) >= 0.11
|
2016-10-17 08:38:53 +02:00
|
|
|
BuildRequires: perl(Sub::Util)
|
2016-06-27 12:45:30 +02:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2018-12-13 12:54:12 +01:00
|
|
|
Requires: perl(List::SomeUtils) >= 0.56
|
2016-06-27 12:45:30 +02:00
|
|
|
Requires: perl(List::Util) >= 1.45
|
2018-12-13 12:54:12 +01:00
|
|
|
Requires: perl(List::UtilsBy) >= 0.11
|
2013-10-04 19:27:50 +02:00
|
|
|
%{perl_requires}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Are you sick of trying to remember whether a particular helper is defined
|
2016-06-27 12:45:30 +02:00
|
|
|
in List::Util, List::SomeUtils or List::UtilsBy? I sure am. Now you don't
|
|
|
|
have to remember. This module will export all of the functions that either
|
|
|
|
of those three modules defines.
|
2013-10-04 19:27:50 +02:00
|
|
|
|
2016-06-27 12:45:30 +02:00
|
|
|
Note that all function documentation has been shamelessly copied from
|
|
|
|
List::Util, List::SomeUtils and List::UtilsBy.
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%prep
|
2013-10-04 19:27:50 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%build
|
2018-12-13 12:54:12 +01:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%check
|
2018-12-13 12:54:12 +01:00
|
|
|
make test
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2013-10-04 19:27:50 +02:00
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2013-10-04 19:27:50 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2018-12-13 12:54:12 +01:00
|
|
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
2017-02-13 19:38:02 +01:00
|
|
|
%license LICENSE
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2012-05-22 17:58:54 +02:00
|
|
|
%changelog
|