Accepting request 65752 from devel:languages:perl

Accepted submit request 65752 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-List-MoreUtils?expand=0&rev=15
This commit is contained in:
Sascha Peilicke 2011-04-01 14:49:55 +00:00 committed by Git OBS Bridge
commit 68b87922df
4 changed files with 36 additions and 28 deletions

View File

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

View File

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

View File

@ -1,5 +1,15 @@
-------------------------------------------------------------------
Thu Mar 17 08:24:00 UTC 2011 - cfarrell@novell.com
Fri Apr 1 11:06:39 UTC 2011 - coolo@novell.com
- shortened description
-------------------------------------------------------------------
Thu Mar 31 12:40:18 UTC 2011 - coolo@novell.com
- update to 0.30, see Changes for details (a lot)
-------------------------------------------------------------------
Mar 17 08:24:00 UTC 2011 - cfarrell@novell.com
- license update: GPL+ or Artistic
See README and MoreUtils.pm - "same terms as Perl" expands to GPL+ or Artistic

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-List-MoreUtils
# spec file for package perl-List-MoreUtils (Version 0.30)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products 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,38 +15,36 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-List-MoreUtils
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Provide the stuff missing in List::Util
Version: 0.22
Release: 85
#
Version: 0.30
Release: 1
License: GPL+ or Artistic
%define cpan_name List-MoreUtils
Summary: Provide the stuff missing in List::Util
Url: http://search.cpan.org/dist/List-MoreUtils/
Group: Development/Libraries/Perl
#
Url: http://search.cpan.org/perldoc?List::MoreUtils
Source: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz
#
#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
*List::MoreUtils* provides some trivial but commonly needed functionality
on lists which is not going to go into the List::Util manpage.
%{cpan_name} module for perl
List::MoreUtils provides some trivial but commonly needed functionality
on lists which is not going to go into List::Util.
Authors: Tassilo von Parseval, <tassilo.von.parseval@rwth-aachen.de>
All of the below functions are implementable in only a couple of lines of
Perl code. Using the functions from this module however should give
slightly better performance as everything is implemented in C. The
pure-Perl implementation of these functions only serves as a fallback in
case the C portions of this module couldn't be compiled on this machine.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@ -57,11 +55,11 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes README
%defattr(644,root,root,755)
%doc Changes LICENSE README
%changelog