e320d7c
Name:		perl-Config-Tiny
28e156b
Version:	2.23
faca76b
Release:	5%{?dist}
e320d7c
Summary:	Perl module for reading and writing .ini style configuration files
e320d7c
Group:		Development/Libraries
e320d7c
License:	GPL+ or Artistic
e320d7c
URL:		http://search.cpan.org/dist/Config-Tiny/
2b037fc
Source0:	http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Config-Tiny-%{version}.tgz
e320d7c
BuildArch:	noarch
2b037fc
# Module Build
28e156b
BuildRequires:	coreutils
28e156b
BuildRequires:	findutils
28e156b
BuildRequires:	make
c18b618
BuildRequires:	perl
bfdd630
BuildRequires:	perl-generators
e320d7c
BuildRequires:	perl(ExtUtils::MakeMaker)
c18b618
BuildRequires:	perl(warnings)
2b037fc
# Module Runtime
2b037fc
BuildRequires:	perl(strict)
2b037fc
# Test Suite
85f94ac
BuildRequires:	perl(File::Spec) >= 3.30
85f94ac
BuildRequires:	perl(File::Temp) >= 0.22
2b037fc
BuildRequires:	perl(Test::More) >= 0.47
2b037fc
BuildRequires:	perl(UNIVERSAL)
2b037fc
BuildRequires:	perl(utf8)
2b037fc
# Extra Tests
2b037fc
BuildRequires:	perl(Test::CPAN::Meta) >= 0.17
c18b618
# Test::MinimumVersion → Perl::MinimumVersion → Perl::Critic → Config::Tiny
e320d7c
%if 0%{!?perl_bootstrap:1}
2b037fc
BuildRequires:	perl(Test::MinimumVersion) >= 0.101080
e320d7c
%endif
2b037fc
BuildRequires:	perl(Test::Pod) >= 1.44
2b037fc
# Runtime
e320d7c
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
cvsextras 0d3a772
cvsextras 0d3a772
%description
cvsextras 0d3a772
Config::Tiny is a Perl module designed for reading and writing .ini
cvsextras 0d3a772
style configuration files. It is designed for simplicity and ease of
cvsextras 0d3a772
use, and thus only supports the most basic operations.
cvsextras 0d3a772
cvsextras 0d3a772
%prep
cvsextras 0d3a772
%setup -q -n Config-Tiny-%{version}
cvsextras 0d3a772
cvsextras 0d3a772
%build
e320d7c
perl Makefile.PL INSTALLDIRS=vendor
cvsextras 0d3a772
make %{?_smp_mflags}
cvsextras 0d3a772
cvsextras 0d3a772
%install
e320d7c
make pure_install DESTDIR=%{buildroot}
e320d7c
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
e320d7c
%{_fixperms} %{buildroot}
cvsextras 0d3a772
964f74b
%check
e320d7c
make test
e320d7c
make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1
cvsextras 0d3a772
cvsextras 0d3a772
%files
c18b618
%license LICENSE
c18b618
%doc Changes README
964f74b
%{perl_vendorlib}/Config/
c18b618
%{_mandir}/man3/Config::Tiny.3*
cvsextras 0d3a772
cvsextras 0d3a772
%changelog
faca76b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.23-5
faca76b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
faca76b
b3e2124
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.23-4
b3e2124
- Perl 5.24 re-rebuild of bootstrapped packages
b3e2124
efe176e
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.23-3
efe176e
- Perl 5.24 rebuild
efe176e
c651d8d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.23-2
c651d8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c651d8d
28e156b
* Wed Oct 14 2015 Paul Howarth <paul@city-fan.org> - 2.23-1
28e156b
- Update to 2.23
28e156b
  - Add the utf8 BOM to the Changes file
28e156b
  - Fix read() and write() so they work on files called '0' (zero)
28e156b
    (CPAN RT#107754)
28e156b
  - Add t/05.zero.t and t/0 to test the new code
28e156b
  - Reformat the source slightly
28e156b
5f02920
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-4
5f02920
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5f02920
0b56c0d
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.22-3
0b56c0d
- Perl 5.22 re-rebuild of bootstrapped packages
0b56c0d
aeda934
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.22-2
aeda934
- Perl 5.22 rebuild
aeda934
531b6f0
* Tue Feb 17 2015 Paul Howarth <paul@city-fan.org> - 2.22-1
531b6f0
- Update to 2.22
531b6f0
  - Fix licence info in Makefile.PL to say Perl (CPAN RT#102141)
531b6f0
c18b618
* Mon Feb 16 2015 Paul Howarth <paul@city-fan.org> - 2.21-1
c18b618
- Update to 2.21
c18b618
  - Patch Makefile.PL to refer to the current repo, which is on github, and
c18b618
    not the original one, which is on Adam's web site (CPAN RT#102125)
c18b618
  - Remove Build.PL (CPAN RT#102126)
c18b618
  - Edit line lengths in the Changes file to a maximum of 100 characters
c18b618
  - Edit line lengths in the docs the same way
c18b618
  - Expand the SEE ALSO section of the docs
c18b618
- Use %%license
c18b618
2a7b7d2
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.20-4
2a7b7d2
- Perl 5.20 re-rebuild of bootstrapped packages
2a7b7d2
58df15e
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.20-3
58df15e
- Perl 5.20 rebuild
58df15e
b523869
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-2
b523869
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b523869
85f94ac
* Sun Nov 24 2013 Paul Howarth <paul@city-fan.org> - 2.20-1
85f94ac
- Update to 2.20
85f94ac
  - Relax pre-req version requirements
85f94ac
287bb88
* Sun Sep 15 2013 Paul Howarth <paul@city-fan.org> - 2.19-1
287bb88
- Update to 2.19
287bb88
  - Remove obsolete and wrong version # from Makefile.PL (CPAN RT#88658)
287bb88
  - Test if read() will return undef; if so, set an error message and (still)
287bb88
    return undef
287bb88
  - Change VERSION => $VERSION in Makefile.PL to
287bb88
    VERSION_FROM => 'lib/Config/Tiny.pm' (CPAN RT#88670)
287bb88
be705c0
* Fri Sep 13 2013 Paul Howarth <paul@city-fan.org> - 2.17-1
be705c0
- Update to 2.17
be705c0
  - Remove the file tests -efr during calls to read(); the open() tests for any
be705c0
    error
be705c0
  - The -f test was reporting /dev/null as a directory, not a file
be705c0
    (CPAN RT#36974)
be705c0
  - Clean up some error messages slightly
be705c0
2cddce0
* Fri Sep  6 2013 Paul Howarth <paul@city-fan.org> - 2.16-1
2cddce0
- Update to 2.16
2cddce0
  - Replace Path::Tiny with File::Spec, because the former's list of
2cddce0
    dependencies is soooo long :-( (see CPAN RT#88435 for Tree::DAG_Node)
2cddce0
2b037fc
* Tue Sep  3 2013 Paul Howarth <paul@city-fan.org> - 2.15-1
2b037fc
- Update to 2.15
2b037fc
  - Clean up the shambolic dates in the Changes file
2b037fc
  - Add a note under Caveats about setting options more that once - only the
2b037fc
    first case is respected (CPAN RT#69795)
2b037fc
  - Add a $encoding parameter to read_file() and write_file(), and add
2b037fc
    t/04.utf8.t and t/04.utf8.txt (CPAN RT#71029, CPAN RT#85571)
2b037fc
  - Fix temporary directory creation in tests for BSD-based systems
2b037fc
  - Rename t/*.t files
2b037fc
  - Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json
2b037fc
  - Add a FAQ to the docs
2b037fc
  - Clean up the docs
2b037fc
- This release by RSAVAGE -> update source URL
2b037fc
- Specify all dependencies
2b037fc
- Drop support for old rpm versions as we need Path::Tiny, which is not
2b037fc
  available there
2b037fc
3d103d1
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-10
3d103d1
- Perl 5.18 re-rebuild of bootstrapped packages
3d103d1
ad813fe
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-9
ad813fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ad813fe
018548f
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 2.14-8
018548f
- Perl 5.18 rebuild
018548f
b415e54
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-7
b415e54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b415e54
887e3d8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-6
887e3d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
887e3d8
2e31466
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.14-5
2e31466
- Perl 5.16 re-rebuild of bootstrapped packages
2e31466
3786f1f
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 2.14-4
3786f1f
- Perl 5.16 rebuild
3786f1f
e320d7c
* Thu Jan 19 2012 Paul Howarth <paul@city-fan.org> - 2.14-3
e320d7c
- Reinstate compatibility with older distributions like EL-5
e320d7c
- Run release tests as well as the regular test suite
e320d7c
- BR: perl(Test::CPAN::Meta) and perl(Test::More)
e320d7c
- Only drop perl(Test::MinimumVersion) as a buildreq when bootstrapping, and
e320d7c
  add a comment about why that's needed
e320d7c
- Use DESTDIR rather than PERL_INSTALL_ROOT
e320d7c
- Don't use macros for commands
e320d7c
- Make %%files list more explicit
e320d7c
- No longer need to fix permissions of Tiny.pm
e320d7c
- Use tabs
e320d7c
4108f40
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-2
4108f40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4108f40
e320d7c
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> - 2.14-1
e320d7c
- Update to latest upstream version
e320d7c
- Clean up spec for modern rpmbuild
9fa213f
4241d96
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.12-12
e320d7c
- Rebuild with Perl 5.14.1
e320d7c
- Use perl_bootstrap macro
e320d7c
- Add missing BR ExtUtils::MakeMaker
4241d96
be30a69
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-11
be30a69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
be30a69
3928713
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-10
e320d7c
- Rebuild to fix problems with vendorarch/lib (#661697)
3928713
8b289c3
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-9
8b289c3
- Mass rebuild with perl-5.12.0
8b289c3
acc86c7
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.12-8
e320d7c
- Rebuild against perl 5.10.1
acc86c7
7876c6c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-7
7876c6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7876c6c
8456f9c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-6
8456f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8456f9c
782b6ed
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-5
782b6ed
- Rebuild normally, second pass
782b6ed
b1cc4a6
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-4
b1cc4a6
- Rebuild for perl 5.10 (again), first pass
b1cc4a6
8daa0a8
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-3
e320d7c
- Rebuild normally, second pass
8daa0a8
cdbeab9
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-2.1
e320d7c
- Rebuild with TMV, tests disabled for first pass
cdbeab9
6f72855
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-2
6f72855
- Rebuild for new perl
6f72855
f4054da
* Thu Dec 13 2007 Ralf Corsépius <rc040203@freenet.de> - 2.12-1
e320d7c
- Update to 2.12
f4054da
45971e3
* Mon Oct  2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.10-1
e320d7c
- Updated to 2.10
45971e3
8652cab
* Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.08-1
e320d7c
- Updated to 2.08
8652cab
9c78aa6
* Wed May 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.07-1
e320d7c
- Updated to 2.07
9c78aa6
13fbfec
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.06-1
e320d7c
- Updated to 2.06
13fbfec
cbeafe8
* Mon Mar  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.05-1
e320d7c
- Updated to 2.05
cbeafe8
40ebcda
* Sat Feb 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.04-2
e320d7c
- Rebuild for FC5 (perl 5.8.8)
40ebcda
5ab6901
* Sat Jan 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.04-1
e320d7c
- Updated to 2.04
5ab6901
964f74b
* Fri Dec 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.03-1
e320d7c
- Updated to 2.03
964f74b
db39b5a
* Mon Jun 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.02-1
e320d7c
- Updated to 2.02
db39b5a
2b037fc
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2
e320d7c
- Rebuilt
f97e39f
f227fd9
* Thu Mar 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.01-1
e320d7c
- Updated to 2.01
f227fd9
cvsextras 0d3a772
* Sun Jul 25 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.00-0.fdr.1
e320d7c
- Updated to 2.00
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Jul 10 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.9-0.fdr.1
e320d7c
- Updated to 1.9
cvsextras 0d3a772
cvsextras 0d3a772
* Fri Jul  2 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.8-0.fdr.1
e320d7c
- Updated to 1.8
cvsextras 0d3a772
cvsextras 0d3a772
* Tue Jun 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.7-0.fdr.1
e320d7c
- Updated to 1.7
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Jun  5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.3
e320d7c
- Changed URL to canonical location (bug 1140)
e320d7c
- Added build req perl >= 1:5.6.1 and perl(Test::More) (bug 1140)
e320d7c
- Added missing req perl(:MODULE_COMPAT_...) (bug 1140)
e320d7c
- Updated to match most recent perl spec template (bug 1140)
e320d7c
- Removed unneeded optimization settings and find *.bs (bug 1140)
cvsextras 0d3a772
cvsextras 0d3a772
* Thu Mar 18 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.2
e320d7c
- Reduced directory ownership bloat
cvsextras 0d3a772
cvsextras 0d3a772
* Thu Mar 11 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.1
e320d7c
- Updated to 1.6
cvsextras 0d3a772
cvsextras 0d3a772
* Wed Jan  7 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:1.5-0.fdr.1
e320d7c
- Updated to 1.5
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:1.3-0.fdr.1
e320d7c
- Initial RPM release
cvsextras 0d3a772