[5744] | 1 | # define bootstrap for initial build |
---|
| 2 | %define perl_bootstrap 1 |
---|
| 3 | |
---|
| 4 | Name: perl-List-MoreUtils |
---|
| 5 | Version: 0.33 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | Summary: Provide the stuff missing in List::Util |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | License: GPL+ or Artistic |
---|
| 10 | URL: http://search.cpan.org/dist/List-MoreUtils/ |
---|
| 11 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Pod::Simple) |
---|
| 15 | BuildRequires: perl(Test::CPAN::Meta) |
---|
| 16 | BuildRequires: perl(Test::LeakTrace) |
---|
| 17 | # Test::MinimumVersion -> Perl::MinimumVersion -> PPI -> List::MoreUtils |
---|
| 18 | %if 0%{!?perl_bootstrap:1} |
---|
| 19 | BuildRequires: perl(Test::MinimumVersion) |
---|
| 20 | %endif |
---|
| 21 | BuildRequires: perl(Test::More) >= 0.42 |
---|
| 22 | BuildRequires: perl(Test::Pod) |
---|
| 23 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 24 | |
---|
| 25 | # Don't "provide" private Perl libs |
---|
| 26 | %{?perl_default_filter} |
---|
| 27 | |
---|
| 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | Packager: shaolin |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | List::MoreUtils provides some trivial but commonly needed functionality |
---|
| 34 | on lists that is not going to go into List::Util. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q -n List-MoreUtils-%{version} |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
| 41 | make %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf %{buildroot} |
---|
| 45 | make pure_install DESTDIR=%{buildroot} |
---|
| 46 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 47 | find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' |
---|
| 48 | find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 49 | %{_fixperms} %{buildroot} |
---|
| 50 | |
---|
| 51 | %check |
---|
| 52 | make test |
---|
| 53 | make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1 |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf %{buildroot} |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %doc Changes README LICENSE |
---|
| 61 | %{perl_vendorarch}/List/ |
---|
| 62 | %{perl_vendorarch}/auto/List/ |
---|
| 63 | %{_mandir}/man3/List::MoreUtils.3pm* |
---|
| 64 | |
---|
| 65 | %changelog |
---|
| 66 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1 |
---|
| 67 | - initial build for Vine Linux |
---|
| 68 | |
---|
| 69 | * Tue Jan 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-1 |
---|
| 70 | - Update to 0.33 |
---|
| 71 | - Updated can_xs to fix a bug in it |
---|
| 72 | - Reinstate compatibility with old distributions like EL-5 |
---|
| 73 | - Drop Test::More version requirement to 0.42 |
---|
| 74 | - BR: perl(ExtUtils::MakeMaker) |
---|
| 75 | - BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available |
---|
| 76 | - BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion) |
---|
| 77 | (if we're not bootstrapping) and perl(Test::Pod), and run the developer tests |
---|
| 78 | too |
---|
| 79 | - Don't use macros for commands |
---|
| 80 | - Use %%{_fixperms} macro rather than our own chmod incantation |
---|
| 81 | - Make %%files list more specific |
---|
| 82 | - Use tabs |
---|
| 83 | |
---|
| 84 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.32-3 |
---|
| 88 | - Perl mass rebuild |
---|
| 89 | |
---|
| 90 | * Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.32-2 |
---|
| 91 | - Rebuild to fix broken rawhide deps |
---|
| 92 | |
---|
| 93 | * Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> - 0.32-1 |
---|
| 94 | - Update to latest upstream version |
---|
| 95 | |
---|
| 96 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-3 |
---|
| 97 | - Perl mass rebuild |
---|
| 98 | |
---|
| 99 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> - 0.30-1 |
---|
| 103 | - Update to latest upstream version |
---|
| 104 | - Clean up spec for modern rpmbuild |
---|
| 105 | - Use perl_default_filter |
---|
| 106 | - Remove unnecessary buildrequires |
---|
| 107 | |
---|
| 108 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-12 |
---|
| 109 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 110 | |
---|
| 111 | * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-11 |
---|
| 112 | - Mass rebuild with perl-5.12.0 |
---|
| 113 | |
---|
| 114 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-10 |
---|
| 115 | - Rebuild against perl 5.10.1 |
---|
| 116 | |
---|
| 117 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8 |
---|
| 121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 122 | |
---|
| 123 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6 |
---|
| 127 | - Rebuild normally, second pass |
---|
| 128 | |
---|
| 129 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5 |
---|
| 130 | - Rebuild for perl 5.10 (again), tests disabled for first pass |
---|
| 131 | |
---|
| 132 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.22-4 |
---|
| 133 | - Autorebuild for GCC 4.3 |
---|
| 134 | |
---|
| 135 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-3 |
---|
| 136 | - Rebuild normally, second pass |
---|
| 137 | |
---|
| 138 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-2.1 |
---|
| 139 | - Rebuild for new perl, first pass, disable TPC and tests |
---|
| 140 | |
---|
| 141 | * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2 |
---|
| 142 | - Rebuild for FC6 |
---|
| 143 | |
---|
| 144 | * Mon Jul 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1 |
---|
| 145 | - Update to 0.22 |
---|
| 146 | |
---|
| 147 | * Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1 |
---|
| 148 | - Update to 0.21 |
---|
| 149 | |
---|
| 150 | * Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
| 151 | - Update to 0.20 |
---|
| 152 | |
---|
| 153 | * Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1 |
---|
| 154 | - First build |
---|