1 | Name: perl-Readonly-XS |
---|
2 | Version: 1.05 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Companion module for Readonly |
---|
5 | Group: Development/Libraries |
---|
6 | License: Artistic or GPL+ |
---|
7 | URL: http://search.cpan.org/dist/Readonly-XS/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}.tar.gz |
---|
9 | Patch0: makefile.pl.patch |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
12 | |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(Test::More) |
---|
15 | |
---|
16 | #Requires: perl(Readonly) >= 1.02 |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: shaolin |
---|
21 | |
---|
22 | %{?perl_default_filter} |
---|
23 | %{?perl_subpackage_tests_default} |
---|
24 | |
---|
25 | %description |
---|
26 | Readonly::XS is a companion module for Readonly, to speed up read-only |
---|
27 | scalar variables. |
---|
28 | |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n Readonly-XS-%{version} |
---|
32 | %patch0 |
---|
33 | |
---|
34 | |
---|
35 | %build |
---|
36 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf %{buildroot} |
---|
42 | |
---|
43 | make pure_install DESTDIR=%{buildroot} |
---|
44 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
45 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
46 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
47 | |
---|
48 | %{_fixperms} %{buildroot}/* |
---|
49 | |
---|
50 | |
---|
51 | %check |
---|
52 | make test |
---|
53 | |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf %{buildroot} |
---|
57 | |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %doc README Changes |
---|
62 | %{perl_vendorarch}/auto/* |
---|
63 | %{perl_vendorarch}/Readonly/ |
---|
64 | %{_mandir}/man3/*.3* |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.05-1 |
---|
69 | - initial build for Vine Linux |
---|
70 | |
---|
71 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-8 |
---|
72 | - Perl mass rebuild |
---|
73 | |
---|
74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-7 |
---|
75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
76 | |
---|
77 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-6 |
---|
78 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
79 | |
---|
80 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-5 |
---|
81 | - Mass rebuild with perl-5.12.0 |
---|
82 | |
---|
83 | * Sun Feb 21 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.05-4 |
---|
84 | - add perl_default_filter, etc |
---|
85 | - PERL_INSTALL_ROOT => DESTDIR |
---|
86 | |
---|
87 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.05-3 |
---|
88 | - rebuild against perl 5.10.1 |
---|
89 | |
---|
90 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2 |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
92 | |
---|
93 | * Fri Feb 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.05-1 |
---|
94 | - update to 1.05 |
---|
95 | - filter our provides to prevent private lib from showing up |
---|
96 | - drop patch1; incorporated upstream as of 1.05 |
---|
97 | |
---|
98 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-12 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
100 | |
---|
101 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-11 |
---|
102 | - Rebuild for perl 5.10 (again) |
---|
103 | |
---|
104 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.04-10.2 |
---|
105 | - Autorebuild for GCC 4.3 |
---|
106 | |
---|
107 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-9.2 |
---|
108 | - patch Carp::croak call for new perl |
---|
109 | |
---|
110 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-9 |
---|
111 | - rebuild for new perl |
---|
112 | |
---|
113 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-8.2 |
---|
114 | - add BR: perl(Test::More) |
---|
115 | |
---|
116 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-8.1 |
---|
117 | - correct license tag |
---|
118 | - add BR: perl(ExtUtils::MakeMaker) |
---|
119 | |
---|
120 | * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.04-8 |
---|
121 | - bump |
---|
122 | |
---|
123 | * Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-7 |
---|
124 | - bump for missing patch... |
---|
125 | |
---|
126 | * Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-6 |
---|
127 | - drop br on perl(Readonly), patch Makefile.PL as well |
---|
128 | - rework spec to use macros |
---|
129 | |
---|
130 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.04-5 |
---|
131 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
132 | |
---|
133 | * Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-4 |
---|
134 | - bump for mass rebuild |
---|
135 | |
---|
136 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-3 |
---|
137 | - proper version on perl(Readonly) BuildRequires & Requires |
---|
138 | |
---|
139 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-1 |
---|
140 | - New Version |
---|
141 | - BuildRequires perl(Readonly), remove explicit requires on |
---|
142 | - perl-Readonly version |
---|
143 | |
---|
144 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.03-2 |
---|
145 | - Fix license and BuildRequires |
---|
146 | |
---|
147 | * Sat Nov 12 2005 Michael A. Peters <mpeters@mac.com> - 1.03-1 |
---|
148 | - created spec file |
---|