perl-List-AllUtils/perl-List-AllUtils.spec
Stephan Kulow 257ec2a2f9 Accepting request 404963 from devel:languages:perl:autoupdate
- updated to 0.11
   see /usr/share/doc/packages/perl-List-AllUtils/Changes
  0.11    2016-06-26
  
  - Added List::UtilsBy to the list of included modules. Based on a patch from
    Yanick Champoux. GH #3.

- updated to 0.10
   see /usr/share/doc/packages/perl-List-AllUtils/Changes
  0.10    2016-05-08
  
  - Switched from List::MoreUtils to List::SomeUtils. This should not change any
    functionality of the module.
  
  - Make the test for subroutine redefined warnings much more
    specific. Previously tests could fail because of totally unrelated warnings
    from other modules. Reported by ribasushi. RT #113740.

OBS-URL: https://build.opensuse.org/request/show/404963
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-List-AllUtils?expand=0&rev=13
2016-06-27 10:45:30 +00:00

71 lines
2.3 KiB
RPMSpec

#
# spec file for package perl-List-AllUtils
#
# Copyright (c) 2016 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
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-List-AllUtils
Version: 0.11
Release: 0
%define cpan_name List-AllUtils
Summary: Combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized[cut]
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/List-AllUtils/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(List::SomeUtils) >= 0.50
BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(List::UtilsBy) >= 0.10
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(List::SomeUtils) >= 0.50
Requires: perl(List::Util) >= 1.45
Requires: perl(List::UtilsBy) >= 0.10
%{perl_requires}
%description
Are you sick of trying to remember whether a particular helper is defined
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.
Note that all function documentation has been shamelessly copied from
List::Util, List::SomeUtils and List::UtilsBy.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING.md LICENSE README.md
%changelog