Hello community, here is the log from the commit of package perl-Config-Tiny for openSUSE:Factory checked in at 2013-10-21 15:13:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Config-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-Tiny/perl-Config-Tiny.changes 2011-11-21 12:37:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Config-Tiny.new/perl-Config-Tiny.changes 2013-10-21 15:13:03.000000000 +0200 @@ -1,0 +2,38 @@ +Fri Oct 4 09:11:29 UTC 2013 - [email protected] + +- updated to 2.19 + - Change VERSION => $VERSION in Makefile.PL to VERSION_FROM => 'lib/Config/Tiny.pm'. + Reported by Jean-Louis Morel. See RT#88670. + + 2.18 Sat Sep 14 10:03:00 2013 + - Remove obsolete and wrong version # from Makefile.PL. + Reported by Jean-Louis Morel. See RT#88658. + - Implement Kevin Ryde's suggestion to test if read() will return undef. + If so, set an error message and (still) return undef. + + 2.17 Fri Sep 13 12:41:00 2013 + - Remove the file tests -efr during calls to read(). The open() tests for any error. + Also, the -f test was reporting /dev/null as a directory, not a file. + Thanx to Kevin Ryde for pushing me to implement this. See RT#36974. + - Clean up some error messages slightly. + + 2.16 Fri Sep 6 11:54:00 2013 + - Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long :-(. + Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL. + See: RT#88435 (for Tree::DAG_Node) for an explanation. + + 2.15 Sun Aug 4 14:59:00 2013 + - Clean up the shambolic dates in this file. + - Add a note under Caveats about setting options more that once. Only the first case is respected. + Thanx to Kimmel K. See RT#69795. + - Add a $encoding parameter to read_file() and write_file(). See docs for details. + Add t/04.utf8.t and t/04.utf8.txt. + Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571. + - For BSD-based systems, when writing a file during tests, use: + my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1); + - Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift char. + - Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json. + - Add an FAQ to the docs. + - Clean up the docs. + +------------------------------------------------------------------- Old: ---- Config-Tiny-2.14.tar.gz New: ---- Config-Tiny-2.19.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.kPYoac/_old 2013-10-21 15:13:04.000000000 +0200 +++ /var/tmp/diff_new_pack.kPYoac/_new 2013-10-21 15:13:04.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Config-Tiny # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,66 +15,67 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Config-Tiny +Version: 2.19 +Release: 0 %define cpan_name Config-Tiny Summary: Read/Write .ini style files with as little code as possible -Version: 2.14 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-Tiny/ -#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Config-Tiny-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{cpan_name}-%{version}.tgz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(File::Spec) >= 3.4 +BuildRequires: perl(File::Temp) >= 0.2301 +BuildRequires: perl(Module::Build) >= 0.38 +#BuildRequires: perl(Config::Tiny) +Requires: perl(File::Spec) >= 3.4 +Requires: perl(File::Temp) >= 0.2301 %{perl_requires} %description -'Config::Tiny' is a perl class to read and write .ini style configuration +'Config::Tiny' is a Perl class to read and write .ini style configuration files with as little code as possible, reducing load time and memory -overhead. Most of the time it is accepted that Perl applications use a lot -of memory and modules. The '::Tiny' family of modules is specifically -intended to provide an ultralight alternative to the standard modules. +overhead. + +Most of the time it is accepted that Perl applications use a lot of memory +and modules. + +The '*::Tiny' family of modules is specifically intended to provide an +ultralight alternative to the standard modules. This module is primarily for reading human written files, and anything we write shouldn't need to have documentation/comments. If you need something with more power move up to the Config::Simple manpage, the Config::General -manpage or one of the many other 'Config::' modules. To rephrase, the -Config::Tiny manpage does *not* preserve your comments, whitespace, or the -order of your config file. +manpage or one of the many other 'Config::*' modules. +Lastly, the Config::Tiny manpage does *not* preserve your comments, +whitespace, or the order of your config file. - - -Authors: --------- - Adam Kennedy <[email protected]> +See the Config::Tiny::Ordered manpage (and possibly others) for the +preservation of the order of the entries in the file. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes LICENSE README +%defattr(-,root,root,755) +%doc Changelog.ini Changes LICENSE README test.conf xt %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
