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
This commit is contained in:
parent
3d103d1283
commit
2b037fc018
|
@ -1 +1,2 @@
|
|||
/Config-Tiny-[0-9.]*.tar.gz
|
||||
/Config-Tiny-[0-9.]*.tgz
|
||||
|
|
|
@ -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@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@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
|
||||
|
|
Loading…
Reference in New Issue