diff --git a/.perl-Tie-IxHash.metadata b/.perl-Tie-IxHash.metadata new file mode 100644 index 0000000..306602b --- /dev/null +++ b/.perl-Tie-IxHash.metadata @@ -0,0 +1 @@ +dfb3be70ed185ba7ad36cd136649e95d187a6ad0 SOURCES/Tie-IxHash-1.22.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/Tie-IxHash-1.22-Makefile.patch b/SOURCES/Tie-IxHash-1.22-Makefile.patch new file mode 100644 index 0000000..1b22461 --- /dev/null +++ b/SOURCES/Tie-IxHash-1.22-Makefile.patch @@ -0,0 +1,10 @@ +--- Tie-IxHash-1.22/Makefile.PL 2010-02-19 22:53:29.000000000 +0000 ++++ Tie-IxHash-1.22/Makefile.PL 2010-03-03 15:32:17.269325632 +0000 +@@ -9,6 +9,7 @@ + repository => 'git://github.com/chorny/Tie-IxHash.git', + }, + }, ++ PL_FILES => {}, + #SKIP => [qw(static dynamic)], + #'linkext' => {LINKTYPE => '' }, + #'dist' => {COMPRESS=>'gzip -9f', SUFFIX => 'gz'}, diff --git a/SPECS/perl-Tie-IxHash.spec b/SPECS/perl-Tie-IxHash.spec new file mode 100644 index 0000000..e9c9b12 --- /dev/null +++ b/SPECS/perl-Tie-IxHash.spec @@ -0,0 +1,135 @@ +Name: perl-Tie-IxHash +Version: 1.22 +Release: 10%{?dist} +Summary: Ordered associative arrays for Perl + +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Tie-IxHash/ +Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz +Patch0: Tie-IxHash-1.22-Makefile.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Pod) +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This Perl module implements Perl hashes that preserve the order in +which the hash elements were added. The order is not affected when +values corresponding to existing keys in the IxHash are changed. +The elements can also be set to any arbitrary supplied order. The +familiar perl array operations can also be performed on the IxHash. + + +%prep +%setup -q -n Tie-IxHash-%{version} + +# Fix Makefile.PL to work with old ExtUtils::MakeMaker versions +%patch0 -p1 + +# Fix line endings +sed -i -e 's/\r$//' Changes README + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Tie/ +%{_mandir}/man3/*.3pm* + + +%changelog +* Fri Jul 20 2012 Fedora Release Engineering - 1.22-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1.22-9 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Wed Jun 06 2012 Petr Pisar - 1.22-8 +- Perl 5.16 rebuild + +* Fri Jun 01 2012 Petr Pisar - 1.22-7 +- Skip POD tests on bootstrap + +* Fri Jan 13 2012 Fedora Release Engineering - 1.22-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jun 19 2011 Marcela Mašláňová - 1.22-5 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 1.22-3 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 1.22-2 +- Mass rebuild with perl-5.12.0 + +* Wed Mar 3 2010 Paul Howarth - 1.22-1 +- Update to 1.22 (modernize distribution) +- BR: perl(Test::More), perl(Test::Pod) +- Fix Makefile.PL to work with old ExtUtils::MakeMaker versions +- Fix argument order for find with -depth + +* Fri Dec 4 2009 Stepan Kasal - 1.21-11 +- Rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 1.21-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.21-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.21-8 +- Rebuild for perl 5.10 (again) + +* Mon Jan 28 2008 Tom "spot" Callaway - 1.21-7 +- Rebuild for new perl + +* Wed Oct 17 2007 Tom "spot" Callaway - 1.21-6.1 +- Correct license tag +- Add BR: perl(ExtUtils::MakeMaker) + +* Thu Sep 7 2006 Jose Pedro Oliveira - 1.21-6 +- Rebuild for FC6. + +* Thu Feb 16 2006 Jose Pedro Oliveira - 1.21-5 +- Rebuild for FC5 (perl 5.8.8). + +* Thu Dec 29 2005 Jose Pedro Oliveira - 1.21-4 +- Dist tag. + +* Fri Apr 7 2005 Michael Schwendt - 1.21-3 +- Rebuilt + +* Sun May 9 2004 Jose Pedro Oliveira - 0:1.21-0.fdr.2 +- Avoid creation of the perllocal.pod file (make pure_install). + +* Thu May 6 2004 Jose Pedro Oliveira - 0:1.21-0.fdr.1 +- First build.