2dc83d
# Run optional test
2dc83d
%bcond_without perl_Tie_IxHash_enables_optional_test
2dc83d
2dc83d
Name:           perl-Tie-IxHash
2dc83d
Version:        1.23
2dc83d
Release:        13%{?dist}
2dc83d
Summary:        Ordered associative arrays for Perl
2dc83d
2dc83d
Group:          Development/Libraries
2dc83d
License:        GPL+ or Artistic
2dc83d
URL:            http://search.cpan.org/dist/Tie-IxHash/
2dc83d
Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
2dc83d
2dc83d
BuildArch:      noarch
2dc83d
BuildRequires:  make
2dc83d
BuildRequires:  perl-generators
2dc83d
BuildRequires:  perl-interpreter
2dc83d
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
2dc83d
BuildRequires:  sed
2dc83d
# Run-time:
2dc83d
BuildRequires:  perl(:VERSION) >= 5.5
2dc83d
BuildRequires:  perl(integer)
2dc83d
BuildRequires:  perl(strict)
2dc83d
BuildRequires:  perl(Tie::Hash)
2dc83d
BuildRequires:  perl(vars)
2dc83d
# Tests:
2dc83d
BuildRequires:  perl(Test::More)
2dc83d
%if %{with perl_Tie_IxHash_enables_optional_test} && !%{defined perl_bootstrap}
2dc83d
# Optional tests:
2dc83d
BuildRequires:  perl(Test::Pod) >= 1.14
2dc83d
%endif
2dc83d
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2dc83d
2dc83d
%description
2dc83d
This Perl module implements Perl hashes that preserve the order in
2dc83d
which the hash elements were added. The order is not affected when
2dc83d
values corresponding to existing keys in the IxHash are changed.
2dc83d
The elements can also be set to any arbitrary supplied order. The
2dc83d
familiar perl array operations can also be performed on the IxHash.
2dc83d
2dc83d
2dc83d
%prep
2dc83d
%setup -q -n Tie-IxHash-%{version}
2dc83d
2dc83d
# Fix line endings
2dc83d
sed -i -e 's/\r$//' Changes README
2dc83d
2dc83d
2dc83d
%build
2dc83d
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
2dc83d
make %{?_smp_mflags}
2dc83d
2dc83d
2dc83d
%install
2dc83d
make pure_install DESTDIR=%{buildroot}
2dc83d
%{_fixperms} -c %{buildroot}
2dc83d
2dc83d
2dc83d
%check
2dc83d
make test
2dc83d
2dc83d
2dc83d
%files
2dc83d
%doc Changes README
2dc83d
%{perl_vendorlib}/Tie/
2dc83d
%{_mandir}/man3/*.3pm*
2dc83d
2dc83d
2dc83d
%changelog
2dc83d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-13
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2dc83d
2dc83d
* Fri Dec 15 2017 Petr Pisar <ppisar@redhat.com> - 1.23-12
2dc83d
- Specify all dependencies
2dc83d
- Modernize spec file
2dc83d
2dc83d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-11
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2dc83d
2dc83d
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-10
2dc83d
- Perl 5.26 re-rebuild of bootstrapped packages
2dc83d
2dc83d
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-9
2dc83d
- Perl 5.26 rebuild
2dc83d
2dc83d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-8
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2dc83d
2dc83d
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-7
2dc83d
- Perl 5.24 re-rebuild of bootstrapped packages
2dc83d
2dc83d
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-6
2dc83d
- Perl 5.24 rebuild
2dc83d
2dc83d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-5
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2dc83d
2dc83d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-4
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2dc83d
2dc83d
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-3
2dc83d
- Perl 5.22 re-rebuild of bootstrapped packages
2dc83d
2dc83d
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-2
2dc83d
- Perl 5.22 rebuild
2dc83d
2dc83d
* Fri Mar 27 2015 Tom Callaway <spot@fedoraproject.org> - 1.23-1
2dc83d
- update to 1.23
2dc83d
2dc83d
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-17
2dc83d
- Perl 5.20 rebuild
2dc83d
2dc83d
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-16
2dc83d
- Perl 5.20 rebuild
2dc83d
2dc83d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-15
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2dc83d
2dc83d
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-14
2dc83d
- Perl 5.18 re-rebuild of bootstrapped packages
2dc83d
2dc83d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-13
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2dc83d
2dc83d
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.22-12
2dc83d
- Perl 5.18 rebuild
2dc83d
2dc83d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-11
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2dc83d
2dc83d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-10
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2dc83d
2dc83d
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.22-9
2dc83d
- Perl 5.16 re-rebuild of bootstrapped packages
2dc83d
2dc83d
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.22-8
2dc83d
- Perl 5.16 rebuild
2dc83d
2dc83d
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.22-7
2dc83d
- Skip POD tests on bootstrap
2dc83d
2dc83d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2dc83d
2dc83d
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-5
2dc83d
- Perl mass rebuild
2dc83d
2dc83d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2dc83d
2dc83d
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-3
2dc83d
- 661697 rebuild for fixing problems with vendorach/lib
2dc83d
2dc83d
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
2dc83d
- Mass rebuild with perl-5.12.0
2dc83d
2dc83d
* Wed Mar  3 2010 Paul Howarth <paul@city-fan.org> - 1.22-1
2dc83d
- Update to 1.22 (modernize distribution)
2dc83d
- BR: perl(Test::More), perl(Test::Pod)
2dc83d
- Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
2dc83d
- Fix argument order for find with -depth
2dc83d
2dc83d
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.21-11
2dc83d
- Rebuild against perl 5.10.1
2dc83d
2dc83d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2dc83d
2dc83d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-9
2dc83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2dc83d
2dc83d
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8
2dc83d
- Rebuild for perl 5.10 (again)
2dc83d
2dc83d
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-7
2dc83d
- Rebuild for new perl
2dc83d
2dc83d
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-6.1
2dc83d
- Correct license tag
2dc83d
- Add BR: perl(ExtUtils::MakeMaker)
2dc83d
2dc83d
* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-6
2dc83d
- Rebuild for FC6.
2dc83d
2dc83d
* Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-5
2dc83d
- Rebuild for FC5 (perl 5.8.8).
2dc83d
2dc83d
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-4
2dc83d
- Dist tag.
2dc83d
2dc83d
* Thu Dec 29 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-3
2dc83d
- Rebuilt
2dc83d
2dc83d
* Sun May  9 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.2
2dc83d
- Avoid creation of the perllocal.pod file (make pure_install).
2dc83d
2dc83d
* Thu May  6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.1
2dc83d
- First build.