From f833bfa84f7bdafde1de445c3ac2777729533c8e Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 17 Jun 2019 09:06:25 +0100 Subject: [PATCH] Update to 2.24 - New upstream release 2.24 - Delete from caveats in documentation where it used to say: 'Config::Tiny will only recognize the first time an option is set in a config file. Any further attempts to set the same option later in the config file are ignored.' In reality the code uses the 2nd and subsequent values to overwrite earlier values - Make this topic a new FAQ - Add corresponding test t/06.repeat.key.t - Update POD to clarify trailing comment options - Add corresponding test t/07.trailing.comment.t - Romanize Gregory Kidrenko's name so Config::IniFiles does not get 'Wide char in print' - Move xt/pod.t to xt/author/pod.t - Adopt new repo structure: see http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html - Move require 5.008001 from Tiny.pm into Makefile.PL --- perl-Config-Tiny.rpmlintrc | 4 ++++ perl-Config-Tiny.spec | 33 ++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 perl-Config-Tiny.rpmlintrc diff --git a/perl-Config-Tiny.rpmlintrc b/perl-Config-Tiny.rpmlintrc new file mode 100644 index 0000000..1a227c5 --- /dev/null +++ b/perl-Config-Tiny.rpmlintrc @@ -0,0 +1,4 @@ +from Config import * + +addFilter("spelling-error Summary\(en_US\) ini -> ") +addFilter("spelling-error %description -l en_US ini -> ") diff --git a/perl-Config-Tiny.spec b/perl-Config-Tiny.spec index 816c19d..4f98aa3 100644 --- a/perl-Config-Tiny.spec +++ b/perl-Config-Tiny.spec @@ -6,19 +6,19 @@ %endif Name: perl-Config-Tiny -Version: 2.23 -Release: 15%{?dist} +Version: 2.24 +Release: 1%{?dist} Summary: Perl module for reading and writing .ini style configuration files License: GPL+ or Artistic URL: https://metacpan.org/release/Config-Tiny -Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Config-Tiny-%{version}.tgz +Source0: https://cpan.metacpan.org/modules/by-module/Config/Config-Tiny-%{version}.tgz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(warnings) # Module Runtime @@ -55,13 +55,13 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test %if %{with perl_Config_Tiny_enables_extra_test} -make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1 +make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" AUTOMATED_TESTING=1 %endif %files @@ -71,6 +71,25 @@ make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1 %{_mandir}/man3/Config::Tiny.3* %changelog +* Mon Jun 17 2019 Paul Howarth - 2.24-1 +- Update to 2.24 + - Delete from caveats in documentation where it used to say: + 'Config::Tiny will only recognize the first time an option is set in a + config file. Any further attempts to set the same option later in the + config file are ignored.' + In reality the code uses the 2nd and subsequent values to overwrite earlier + values + - Make this topic a new FAQ + - Add corresponding test t/06.repeat.key.t + - Update POD to clarify trailing comment options + - Add corresponding test t/07.trailing.comment.t + - Romanize Gregory Kidrenko's name so Config::IniFiles does not get 'Wide + char in print' + - Move xt/pod.t to xt/author/pod.t + - Adopt new repo structure: see + http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html + - Move require 5.008001 from Tiny.pm into Makefile.PL + * Sun Jun 02 2019 Jitka Plesnikova - 2.23-15 - Perl 5.30 re-rebuild of bootstrapped packages diff --git a/sources b/sources index adcb15a..0775764 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6c3bc610c4bc587e1441e651e01584ce Config-Tiny-2.23.tgz +SHA512 (Config-Tiny-2.24.tgz) = 7ce660f947351c346f553a1f0424e6c5710c9334090791525a5ab3d7462f6754315602028de4da7f2aeb72303df68d7419e15bea73c8f161830216b26fdfcb40