Hello community, here is the log from the commit of package perl-Data-OptList for openSUSE:Factory checked in at Mon Apr 19 11:35:13 CEST 2010. -------- New Changes file: --- /dev/null 2009-09-30 08:50:26.000000000 +0200 +++ /mounts/work_src_done/STABLE/perl-Data-OptList/perl-Data-OptList.changes 2010-04-11 22:25:46.000000000 +0200 @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Sun Apr 11 20:21:40 UTC 2010 - chris@computersalat.de + +- update to 0.106 + * correct version style mismatch for Sub::Install (thanks, brian d foy) +- 0.105 2010-01-14 + * fix a typo in documenation (thanks, Florian Ragwitz) +- removed .packlist, perllocal.pod files + > noarch package +- cleanup spec + o fix HEADER + o update License, Url, Source + o fix deps + - perl-macros deps + - perl(Sub::Install) >= 0.921 + o update description + o macro usage + +------------------------------------------------------------------- +Sun Jun 21 21:11:47 CEST 2009 - chris@computersalat.de + +- initial package 0.104 + calling whatdependson for head-i586 New: ---- Data-OptList-0.106.tar.gz perl-Data-OptList.changes perl-Data-OptList.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-OptList.spec ++++++ # # spec file for package perl-Data-OptList (Version 0.106) # # 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 # 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/ # # norootforbuild Name: perl-Data-OptList %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Parse and validate simple name/value option pairs Version: 0.106 Release: 1 License: Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Data-OptList Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-0.106.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif BuildRequires: perl(List::Util) >= 0.00 # other not perl || perl-base BuildRequires: perl(Sub::Install) >= 0.921 BuildRequires: perl(Params::Util) >= 0.14 # Requires: perl = %{perl_version} Requires: perl(List::Util) >= 0.00 # other not perl || perl-base Requires: perl(Sub::Install) >= 0.921 Requires: perl(Params::Util) >= 0.14 %description Hashes are great for storing named data, but if you want more than one entry for a name, you have to use a list of pairs. Even then, this is really boring to write: $values = [ foo => undef, bar => undef, baz => undef, xyz => { ... }, ]; Just look at all those undefs! Don't worry, we can get rid of those: $values = [ map { $_ => undef } qw(foo bar baz), xyz => { ... }, ]; Aaaauuugh! We've saved a little typing, but now it requires thought to read, and thinking is even worse than typing. With Data::OptList, you can do this instead: $values = Data::OptList::mkopt([ qw(foo bar baz), xyz => { ... }, ]); This works by assuming that any defined scalar is a name and any reference following a name is its value. Author: Ricardo SIGNES, <rjbs@cpan.org> %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install # do not perl_process_packlist (noarch) # remove .packlist file %{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch # remove perllocal.pod file %{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files # normally you only need to check for doc files %defattr(-,root,root) %doc Changes LICENSE README %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org