a40d25
Name:           perl-Tie-IxHash
a40d25
Version:        1.22
6411d8
Release:        11%{?dist}
a40d25
Summary:        Ordered associative arrays for Perl
a40d25
a40d25
Group:          Development/Libraries
a40d25
License:        GPL+ or Artistic
a40d25
URL:            http://search.cpan.org/dist/Tie-IxHash/
a40d25
Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
a40d25
Patch0:         Tie-IxHash-1.22-Makefile.patch
a40d25
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a40d25
a40d25
BuildArch:      noarch
a40d25
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
a40d25
%if !%{defined perl_bootstrap}
a40d25
BuildRequires:  perl(Test::Pod)
a40d25
%endif
a40d25
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a40d25
a40d25
%description
a40d25
This Perl module implements Perl hashes that preserve the order in
a40d25
which the hash elements were added. The order is not affected when
a40d25
values corresponding to existing keys in the IxHash are changed.
a40d25
The elements can also be set to any arbitrary supplied order. The
a40d25
familiar perl array operations can also be performed on the IxHash.
a40d25
a40d25
a40d25
%prep
a40d25
%setup -q -n Tie-IxHash-%{version}
a40d25
a40d25
# Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
a40d25
%patch0 -p1
a40d25
a40d25
# Fix line endings
a40d25
sed -i -e 's/\r$//' Changes README
a40d25
a40d25
a40d25
%build
a40d25
%{__perl} Makefile.PL INSTALLDIRS=vendor
a40d25
make %{?_smp_mflags}
a40d25
a40d25
a40d25
%install
a40d25
rm -rf $RPM_BUILD_ROOT
a40d25
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
a40d25
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
a40d25
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
a40d25
chmod -R u+w $RPM_BUILD_ROOT/*
a40d25
a40d25
a40d25
%check
a40d25
make test
a40d25
a40d25
a40d25
%clean
a40d25
rm -rf $RPM_BUILD_ROOT
a40d25
a40d25
a40d25
%files
a40d25
%defattr(-,root,root,-)
a40d25
%doc Changes README
a40d25
%{perl_vendorlib}/Tie/
a40d25
%{_mandir}/man3/*.3pm*
a40d25
a40d25
a40d25
%changelog
6411d8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.22-11
6411d8
- Mass rebuild 2013-12-27
6411d8
a40d25
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-10
a40d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a40d25
a40d25
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.22-9
a40d25
- Perl 5.16 re-rebuild of bootstrapped packages
a40d25
a40d25
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.22-8
a40d25
- Perl 5.16 rebuild
a40d25
a40d25
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.22-7
a40d25
- Skip POD tests on bootstrap
a40d25
a40d25
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6
a40d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a40d25
a40d25
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-5
a40d25
- Perl mass rebuild
a40d25
a40d25
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
a40d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a40d25
a40d25
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-3
a40d25
- 661697 rebuild for fixing problems with vendorach/lib
a40d25
a40d25
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
a40d25
- Mass rebuild with perl-5.12.0
a40d25
a40d25
* Wed Mar  3 2010 Paul Howarth <paul@city-fan.org> - 1.22-1
a40d25
- Update to 1.22 (modernize distribution)
a40d25
- BR: perl(Test::More), perl(Test::Pod)
a40d25
- Fix Makefile.PL to work with old ExtUtils::MakeMaker versions
a40d25
- Fix argument order for find with -depth
a40d25
a40d25
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.21-11
a40d25
- Rebuild against perl 5.10.1
a40d25
a40d25
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
a40d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a40d25
a40d25
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-9
a40d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a40d25
a40d25
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8
a40d25
- Rebuild for perl 5.10 (again)
a40d25
a40d25
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-7
a40d25
- Rebuild for new perl
a40d25
a40d25
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-6.1
a40d25
- Correct license tag
a40d25
- Add BR: perl(ExtUtils::MakeMaker)
a40d25
a40d25
* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-6
a40d25
- Rebuild for FC6.
a40d25
a40d25
* Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-5
a40d25
- Rebuild for FC5 (perl 5.8.8).
a40d25
a40d25
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-4
a40d25
- Dist tag.
a40d25
a40d25
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-3
a40d25
- Rebuilt
a40d25
a40d25
* Sun May  9 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.2
a40d25
- Avoid creation of the perllocal.pod file (make pure_install).
a40d25
a40d25
* Thu May  6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.1
a40d25
- First build.