[5740] | 1 | Name: perl-Tie-IxHash |
---|
| 2 | Version: 1.22 |
---|
[5794] | 3 | Release: 2%{?_dist_release} |
---|
[5740] | 4 | Summary: Ordered associative arrays for Perl |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/Tie-IxHash/ |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz |
---|
| 10 | Patch0: Tie-IxHash-1.22-Makefile.patch |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod) |
---|
| 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: shaolin |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This Perl module implements Perl hashes that preserve the order in |
---|
| 23 | which the hash elements were added. The order is not affected when |
---|
| 24 | values corresponding to existing keys in the IxHash are changed. |
---|
| 25 | The elements can also be set to any arbitrary supplied order. The |
---|
| 26 | familiar perl array operations can also be performed on the IxHash. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n Tie-IxHash-%{version} |
---|
| 31 | |
---|
| 32 | # Fix Makefile.PL to work with old ExtUtils::MakeMaker versions |
---|
| 33 | %patch0 -p1 |
---|
| 34 | |
---|
| 35 | # Fix line endings |
---|
| 36 | sed -i -e 's/\r$//' Changes README |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
[5794] | 40 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
[5740] | 41 | make %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %install |
---|
[5794] | 45 | rm -rf %{buildroot} |
---|
| 46 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 47 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 48 | find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 49 | chmod -R u+w %{buildroot}/* |
---|
[5740] | 50 | |
---|
| 51 | |
---|
| 52 | %check |
---|
| 53 | make test |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %clean |
---|
[5794] | 57 | rm -rf %{buildroot} |
---|
[5740] | 58 | |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc Changes README |
---|
[5794] | 63 | %{perl_vendorlib}/Tie/ |
---|
[5740] | 64 | %{_mandir}/man3/*.3pm* |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[5794] | 68 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-2 |
---|
| 69 | - rebuild |
---|
| 70 | |
---|
[5740] | 71 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.22-1 |
---|
| 72 | - initial package for Vine Linux |
---|
| 73 | |
---|
| 74 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-6 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.22-5 |
---|
| 78 | - Perl mass rebuild |
---|
| 79 | |
---|
| 80 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-3 |
---|
| 84 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 85 | |
---|
| 86 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2 |
---|
| 87 | - Mass rebuild with perl-5.12.0 |
---|
| 88 | |
---|
| 89 | * Wed Mar 3 2010 Paul Howarth <paul@city-fan.org> - 1.22-1 |
---|
| 90 | - Update to 1.22 (modernize distribution) |
---|
| 91 | - BR: perl(Test::More), perl(Test::Pod) |
---|
| 92 | - Fix Makefile.PL to work with old ExtUtils::MakeMaker versions |
---|
| 93 | - Fix argument order for find with -depth |
---|
| 94 | |
---|
| 95 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.21-11 |
---|
| 96 | - Rebuild against perl 5.10.1 |
---|
| 97 | |
---|
| 98 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10 |
---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 100 | |
---|
| 101 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-9 |
---|
| 102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 103 | |
---|
| 104 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8 |
---|
| 105 | - Rebuild for perl 5.10 (again) |
---|
| 106 | |
---|
| 107 | * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-7 |
---|
| 108 | - Rebuild for new perl |
---|
| 109 | |
---|
| 110 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-6.1 |
---|
| 111 | - Correct license tag |
---|
| 112 | - Add BR: perl(ExtUtils::MakeMaker) |
---|
| 113 | |
---|
| 114 | * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-6 |
---|
| 115 | - Rebuild for FC6. |
---|
| 116 | |
---|
| 117 | * Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-5 |
---|
| 118 | - Rebuild for FC5 (perl 5.8.8). |
---|
| 119 | |
---|
| 120 | * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.21-4 |
---|
| 121 | - Dist tag. |
---|
| 122 | |
---|
| 123 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-3 |
---|
| 124 | - Rebuilt |
---|
| 125 | |
---|
| 126 | * Sun May 9 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.2 |
---|
| 127 | - Avoid creation of the perllocal.pod file (make pure_install). |
---|
| 128 | |
---|
| 129 | * Thu May 6 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.21-0.fdr.1 |
---|
| 130 | - First build. |
---|