OBS User unknown 2009-07-27 21:29:53 +00:00 committed by Git OBS Bridge
parent 92d62c6158
commit a6caf35846
2 changed files with 36 additions and 29 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Jul 25 19:40:42 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Fri Jun 26 10:38:40 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o added norootforbuild
-------------------------------------------------------------------
Mon Aug 20 15:55:29 CEST 2007 - mrueckert@suse.de

View File

@ -15,61 +15,53 @@
# 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: 71
%define modname List-MoreUtils
Release: 72
#
License: Artistic License; GPL v2 only
License: Artistic License .. ; GPL v2 only
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
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl = %{perl_version}
#
Url: http://search.cpan.org/~vparseval/
Source: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz
Summary: Provide the missing functionality from List::Util
%description
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>
%{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>
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%{__make}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.files
%defattr(-, root, root)
%doc README
/var/adm/perl-modules/%{name}
%dir %{perl_vendorarch}/List/
%{perl_vendorarch}/List/MoreUtils.pm
%dir %{perl_vendorarch}/auto/List/
%{perl_vendorarch}/auto/List/MoreUtils/
%{_mandir}/man3/List::MoreUtils.3pm*
%doc Changes README
%changelog
* Mon Aug 20 2007 mrueckert@suse.de
- initial package