[perl-Config-Tiny] Update to 2.15
Paul Howarth
pghmcfc at fedoraproject.org
Tue Sep 3 17:56:49 UTC 2013
commit 2b037fc018de7624c2dd11797de6c32301fab58a
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Sep 3 18:51:58 2013 +0100
Update to 2.15
- New upstream release 2.15
- Clean up the shambolic dates in the Changes file
- Add a note under Caveats about setting options more that once - only the
first case is respected (CPAN RT#69795)
- Add a $encoding parameter to read_file() and write_file(), and add
t/04.utf8.t and t/04.utf8.txt (CPAN RT#71029, CPAN RT#85571)
- Fix temporary directory creation in tests for BSD-based systems
- Rename t/*.t files
- Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json
- Add a FAQ to the docs
- Clean up the docs
- This release by RSAVAGE -> update source URL
- Specify all dependencies
- Drop support for old rpm versions as we need Path::Tiny, which is not
available there
.gitignore | 1 +
perl-Config-Tiny.spec | 53 ++++++++++++++++++++++++++++++++----------------
sources | 2 +-
3 files changed, 37 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4feb901..1ca9118 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Config-Tiny-[0-9.]*.tar.gz
+/Config-Tiny-[0-9.]*.tgz
diff --git a/perl-Config-Tiny.spec b/perl-Config-Tiny.spec
index d0b05bb..9925127 100644
--- a/perl-Config-Tiny.spec
+++ b/perl-Config-Tiny.spec
@@ -1,24 +1,30 @@
Name: perl-Config-Tiny
-Version: 2.14
-Release: 10%{?dist}
+Version: 2.15
+Release: 1%{?dist}
Summary: Perl module for reading and writing .ini style configuration files
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Config-Tiny/
-Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Config-Tiny-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Config-Tiny-%{version}.tgz
BuildArch: noarch
+# Module Build
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::CPAN::Meta)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
+# Module Runtime
+BuildRequires: perl(strict)
+# Test Suite
+BuildRequires: perl(File::Temp) >= 0.19
+BuildRequires: perl(Path::Tiny) >= 0.025
+BuildRequires: perl(Test::More) >= 0.47
+BuildRequires: perl(UNIVERSAL)
+BuildRequires: perl(utf8)
+# Extra Tests
+BuildRequires: perl(Test::CPAN::Meta) >= 0.17
# Test::MinimumVersion -> Perl::MinimumVersion -> Perl::Critic -> Config::Tiny
%if 0%{!?perl_bootstrap:1}
-# Test::MinimumVersion not available for EPEL < 6
-%if "%{rhel}" != "4" && "%{rhel}" != "5"
-BuildRequires: perl(Test::MinimumVersion)
-%endif
+BuildRequires: perl(Test::MinimumVersion) >= 0.101080
%endif
+BuildRequires: perl(Test::Pod) >= 1.44
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -34,26 +40,37 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot}
%check
make test
make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Config/
%{_mandir}/man3/Config::Tiny.3pm*
%changelog
+* Tue Sep 3 2013 Paul Howarth <paul at city-fan.org> - 2.15-1
+- Update to 2.15
+ - Clean up the shambolic dates in the Changes file
+ - Add a note under Caveats about setting options more that once - only the
+ first case is respected (CPAN RT#69795)
+ - Add a $encoding parameter to read_file() and write_file(), and add
+ t/04.utf8.t and t/04.utf8.txt (CPAN RT#71029, CPAN RT#85571)
+ - Fix temporary directory creation in tests for BSD-based systems
+ - Rename t/*.t files
+ - Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json
+ - Add a FAQ to the docs
+ - Clean up the docs
+- This release by RSAVAGE -> update source URL
+- Specify all dependencies
+- Drop support for old rpm versions as we need Path::Tiny, which is not
+ available there
+
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik at redhat.com> - 2.14-10
- Perl 5.18 re-rebuild of bootstrapped packages
@@ -162,7 +179,7 @@ rm -rf %{buildroot}
* Mon Jun 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.02-1
- Updated to 2.02
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2
+* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2
- Rebuilt
* Thu Mar 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.01-1
diff --git a/sources b/sources
index aaace67..f2a97ec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-498b8fd37a190a214cddd5506be77720 Config-Tiny-2.14.tar.gz
+3727f8d0d6bcfcde83e01ad770c94e52 Config-Tiny-2.15.tgz
More information about the scm-commits
mailing list