1 | # define bootstrap for initial build |
---|
2 | %define perl_bootstrap 1 |
---|
3 | |
---|
4 | Name: perl-List-MoreUtils |
---|
5 | Version: 0.33 |
---|
6 | Release: 2%{?_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 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.33-2 |
---|
67 | - rebuilt with perl-5.16.3. |
---|
68 | |
---|
69 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1 |
---|
70 | - initial build for Vine Linux |
---|
71 | |
---|
72 | * Tue Jan 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-1 |
---|
73 | - Update to 0.33 |
---|
74 | - Updated can_xs to fix a bug in it |
---|
75 | - Reinstate compatibility with old distributions like EL-5 |
---|
76 | - Drop Test::More version requirement to 0.42 |
---|
77 | - BR: perl(ExtUtils::MakeMaker) |
---|
78 | - BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available |
---|
79 | - BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion) |
---|
80 | (if we're not bootstrapping) and perl(Test::Pod), and run the developer tests |
---|
81 | too |
---|
82 | - Don't use macros for commands |
---|
83 | - Use %%{_fixperms} macro rather than our own chmod incantation |
---|
84 | - Make %%files list more specific |
---|
85 | - Use tabs |
---|
86 | |
---|
87 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
89 | |
---|
90 | * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.32-3 |
---|
91 | - Perl mass rebuild |
---|
92 | |
---|
93 | * Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.32-2 |
---|
94 | - Rebuild to fix broken rawhide deps |
---|
95 | |
---|
96 | * Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> - 0.32-1 |
---|
97 | - Update to latest upstream version |
---|
98 | |
---|
99 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-3 |
---|
100 | - Perl mass rebuild |
---|
101 | |
---|
102 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
104 | |
---|
105 | * Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> - 0.30-1 |
---|
106 | - Update to latest upstream version |
---|
107 | - Clean up spec for modern rpmbuild |
---|
108 | - Use perl_default_filter |
---|
109 | - Remove unnecessary buildrequires |
---|
110 | |
---|
111 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-12 |
---|
112 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
113 | |
---|
114 | * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-11 |
---|
115 | - Mass rebuild with perl-5.12.0 |
---|
116 | |
---|
117 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-10 |
---|
118 | - Rebuild against perl 5.10.1 |
---|
119 | |
---|
120 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9 |
---|
121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
122 | |
---|
123 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8 |
---|
124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
125 | |
---|
126 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7 |
---|
127 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
128 | |
---|
129 | * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6 |
---|
130 | - Rebuild normally, second pass |
---|
131 | |
---|
132 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5 |
---|
133 | - Rebuild for perl 5.10 (again), tests disabled for first pass |
---|
134 | |
---|
135 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.22-4 |
---|
136 | - Autorebuild for GCC 4.3 |
---|
137 | |
---|
138 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-3 |
---|
139 | - Rebuild normally, second pass |
---|
140 | |
---|
141 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-2.1 |
---|
142 | - Rebuild for new perl, first pass, disable TPC and tests |
---|
143 | |
---|
144 | * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2 |
---|
145 | - Rebuild for FC6 |
---|
146 | |
---|
147 | * Mon Jul 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1 |
---|
148 | - Update to 0.22 |
---|
149 | |
---|
150 | * Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1 |
---|
151 | - Update to 0.21 |
---|
152 | |
---|
153 | * Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
154 | - Update to 0.20 |
---|
155 | |
---|
156 | * Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1 |
---|
157 | - First build |
---|