日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。
Revision | 02b63d7e91e1421fa83f452d6903335c4485db6a (tree) |
---|---|
Time | 2020-03-18 19:55:08 |
Author | Fumihisa TONAKA <fumi.ftnk@gmai...> |
Commiter | Fumihisa TONAKA |
SFEperl-extutils-cbuilder: bump to 0.280234 and only build for JPOSUG perl packages
@@ -1,12 +1,7 @@ | ||
1 | 1 | %include Solaris.inc |
2 | 2 | |
3 | -%define build584 0 | |
4 | -%define build510 %( if [ -x /usr/perl5/5.10/bin/perl ]; then echo '1'; else echo '0'; fi) | |
5 | -%define build512 %( if [ -x /usr/perl5/5.12/bin/perl ]; then echo '1'; else echo '0'; fi) | |
6 | -%define build516 %( if [ -x /usr/perl5/5.16/bin/perl ]; then echo '1'; else echo '0'; fi) | |
7 | -%define build522 %( if [ -x /usr/perl5/5.22/bin/perl ]; then echo '1'; else echo '0'; fi) | |
8 | -%define build526 %( if [ -x /usr/perl5/5.26/bin/perl ]; then echo '1'; else echo '0'; fi) | |
9 | -%define build526jposug %( if [ -x /opt/jposug/perl5/5.26/bin/perl ]; then echo '1'; else echo '0'; fi) | |
3 | +%define build526 %( if [ -x /opt/jposug/perl5/5.26/bin/perl ]; then echo '1'; else echo '0'; fi) | |
4 | +%define build530 %( if [ -x /opt/jposug/perl5/5.30/bin/perl ]; then echo '1'; else echo '0'; fi) | |
10 | 5 | %define enable_test %( if [ "x${PERL_DISABLE_TEST}" = 'xtrue' ]; then echo '0'; else echo '1'; fi ) |
11 | 6 | |
12 | 7 | %define include_executable 0 |
@@ -18,9 +13,9 @@ | ||
18 | 13 | |
19 | 14 | Summary: Compile and link C code for Perl modules |
20 | 15 | Name: perl-%{sfe_cpan_name} |
21 | -IPS_package_name: library/perl-5/%{ips_cpan_name} | |
22 | -Version: 0.280230 | |
23 | -IPS_component_version: 0.280230 | |
16 | +IPS_package_name: jposug/library/perl-5/%{ips_cpan_name} | |
17 | +Version: 0.280234 | |
18 | +IPS_component_version: 0.280234 | |
24 | 19 | License: perl_5 |
25 | 20 | URL: https://metacpan.org/pod/ExtUtils::CBuilder |
26 | 21 | Source0: http://cpan.metacpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-%{version}.tar.gz |
@@ -29,193 +24,14 @@ | ||
29 | 24 | %description |
30 | 25 | Compile and link C code for Perl modules |
31 | 26 | |
32 | -%if %{build584} | |
33 | -%package 584 | |
34 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-584 | |
35 | -Summary: Compile and link C code for Perl modules | |
36 | -BuildRequires: runtime/perl-584 = * | |
37 | -BuildRequires: library/perl-5/extutils-makemaker-584 | |
38 | -BuildRequires: library/perl-5/test-simple-584 | |
39 | -%if %{enable_test} | |
40 | -BuildRequires: library/perl-5/extutils-makemaker-584 | |
41 | -BuildRequires: library/perl-5/file-temp-584 | |
42 | -BuildRequires: library/perl-5/io-584 | |
43 | -BuildRequires: library/perl-5/ipc-cmd-584 | |
44 | -BuildRequires: library/perl-5/pathtools-584 | |
45 | -BuildRequires: library/perl-5/perl-ostype-584 | |
46 | -BuildRequires: library/perl-5/text-parsewords-584 | |
47 | -%endif | |
48 | -Requires: runtime/perl-584 = * | |
49 | -Requires: library/perl-5/%{ips_cpan_name} | |
50 | -Requires: library/perl-5/extutils-makemaker-584 | |
51 | -Requires: library/perl-5/file-temp-584 | |
52 | -Requires: library/perl-5/io-584 | |
53 | -Requires: library/perl-5/ipc-cmd-584 | |
54 | -Requires: library/perl-5/pathtools-584 | |
55 | -Requires: library/perl-5/perl-ostype-584 | |
56 | -Requires: library/perl-5/text-parsewords-584 | |
57 | - | |
58 | -%description 584 | |
59 | -Compile and link C code for Perl modules | |
60 | -%endif | |
61 | - | |
62 | -%if %{build510} | |
63 | -%package 510 | |
64 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-510 | |
65 | -Summary: Compile and link C code for Perl modules | |
66 | -BuildRequires: runtime/perl-510 = * | |
67 | -BuildRequires: library/perl-5/extutils-makemaker-510 | |
68 | -BuildRequires: library/perl-5/test-simple-510 | |
69 | -BuildRequires: library/perl-5/extutils-makemaker-510 | |
70 | -BuildRequires: library/perl-5/file-temp-510 | |
71 | -BuildRequires: library/perl-5/io-510 | |
72 | -BuildRequires: library/perl-5/ipc-cmd-510 | |
73 | -BuildRequires: library/perl-5/pathtools-510 | |
74 | -BuildRequires: library/perl-5/perl-ostype-510 | |
75 | -BuildRequires: library/perl-5/text-parsewords-510 | |
76 | -Requires: runtime/perl-510 = * | |
77 | -Requires: library/perl-5/%{ips_cpan_name} | |
78 | -Requires: library/perl-5/extutils-makemaker-510 | |
79 | -Requires: library/perl-5/file-temp-510 | |
80 | -Requires: library/perl-5/io-510 | |
81 | -Requires: library/perl-5/ipc-cmd-510 | |
82 | -Requires: library/perl-5/pathtools-510 | |
83 | -Requires: library/perl-5/perl-ostype-510 | |
84 | -Requires: library/perl-5/text-parsewords-510 | |
85 | - | |
86 | -%description 510 | |
87 | -Compile and link C code for Perl modules | |
88 | -%endif | |
89 | - | |
90 | -%if %{build512} | |
91 | -%package 512 | |
92 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-512 | |
93 | -Summary: Compile and link C code for Perl modules | |
94 | -BuildRequires: runtime/perl-512 = * | |
95 | -BuildRequires: library/perl-5/extutils-makemaker-512 | |
96 | -BuildRequires: library/perl-5/test-simple-512 | |
97 | -%if %{enable_test} | |
98 | -BuildRequires: library/perl-5/extutils-makemaker-512 | |
99 | -BuildRequires: library/perl-5/file-temp-512 | |
100 | -BuildRequires: library/perl-5/io-512 | |
101 | -BuildRequires: library/perl-5/ipc-cmd-512 | |
102 | -BuildRequires: library/perl-5/pathtools-512 | |
103 | -BuildRequires: library/perl-5/perl-ostype-512 | |
104 | -BuildRequires: library/perl-5/text-parsewords-512 | |
105 | -%endif | |
106 | -Requires: runtime/perl-512 = * | |
107 | -Requires: library/perl-5/%{ips_cpan_name} | |
108 | -Requires: library/perl-5/extutils-makemaker-512 | |
109 | -Requires: library/perl-5/file-temp-512 | |
110 | -Requires: library/perl-5/io-512 | |
111 | -Requires: library/perl-5/ipc-cmd-512 | |
112 | -Requires: library/perl-5/pathtools-512 | |
113 | -Requires: library/perl-5/perl-ostype-512 | |
114 | -Requires: library/perl-5/text-parsewords-512 | |
115 | - | |
116 | -%description 512 | |
117 | -Compile and link C code for Perl modules | |
118 | -%endif | |
119 | - | |
120 | -%if %{build516} | |
121 | -%package 516 | |
122 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-516 | |
123 | -Summary: Compile and link C code for Perl modules | |
124 | -BuildRequires: runtime/perl-516 = * | |
125 | -BuildRequires: library/perl-5/extutils-makemaker-516 | |
126 | -BuildRequires: library/perl-5/test-simple-516 | |
127 | -Requires: library/perl-5/%{ips_cpan_name} | |
128 | -%if %{enable_test} | |
129 | -BuildRequires: library/perl-5/extutils-makemaker-516 | |
130 | -BuildRequires: library/perl-5/file-temp-516 | |
131 | -BuildRequires: library/perl-5/io-516 | |
132 | -BuildRequires: library/perl-5/ipc-cmd-516 | |
133 | -BuildRequires: library/perl-5/pathtools-516 | |
134 | -BuildRequires: library/perl-5/perl-ostype-516 | |
135 | -BuildRequires: library/perl-5/text-parsewords-516 | |
136 | -%endif | |
137 | -Requires: runtime/perl-516 = * | |
138 | -Requires: library/perl-5/%{ips_cpan_name} | |
139 | -Requires: library/perl-5/extutils-makemaker-516 | |
140 | -Requires: library/perl-5/file-temp-516 | |
141 | -Requires: library/perl-5/io-516 | |
142 | -Requires: library/perl-5/ipc-cmd-516 | |
143 | -Requires: library/perl-5/pathtools-516 | |
144 | -Requires: library/perl-5/perl-ostype-516 | |
145 | -Requires: library/perl-5/text-parsewords-516 | |
146 | - | |
147 | -%description 516 | |
148 | -Compile and link C code for Perl modules | |
149 | -%endif | |
150 | - | |
151 | -%if %{build522} | |
152 | -%package 522 | |
153 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-522 | |
154 | -Summary: Compile and link C code for Perl modules | |
155 | -BuildRequires: runtime/perl-522 = * | |
156 | -BuildRequires: library/perl-5/extutils-makemaker-522 | |
157 | -BuildRequires: library/perl-5/test-simple-522 | |
158 | -%if %{enable_test} | |
159 | -BuildRequires: library/perl-5/extutils-makemaker-522 | |
160 | -BuildRequires: library/perl-5/file-temp-522 | |
161 | -BuildRequires: library/perl-5/io-522 | |
162 | -BuildRequires: library/perl-5/ipc-cmd-522 | |
163 | -BuildRequires: library/perl-5/pathtools-522 | |
164 | -BuildRequires: library/perl-5/perl-ostype-522 | |
165 | -BuildRequires: library/perl-5/text-parsewords-522 | |
166 | -%endif | |
167 | -Requires: runtime/perl-522 = * | |
168 | -Requires: library/perl-5/%{ips_cpan_name} | |
169 | -Requires: library/perl-5/extutils-makemaker-522 | |
170 | -Requires: library/perl-5/file-temp-522 | |
171 | -Requires: library/perl-5/io-522 | |
172 | -Requires: library/perl-5/ipc-cmd-522 | |
173 | -Requires: library/perl-5/pathtools-522 | |
174 | -Requires: library/perl-5/perl-ostype-522 | |
175 | -Requires: library/perl-5/text-parsewords-522 | |
176 | - | |
177 | -%description 522 | |
178 | -Compile and link C code for Perl modules | |
179 | -%endif | |
180 | - | |
181 | 27 | %if %{build526} |
182 | -%package 526 | |
183 | -IPS_package_name: library/perl-5/%{ips_cpan_name}-526 | |
184 | -Summary: Compile and link C code for Perl modules | |
185 | -BuildRequires: runtime/perl-526 = * | |
186 | -BuildRequires: library/perl-5/extutils-makemaker-526 | |
187 | -BuildRequires: library/perl-5/test-simple-526 | |
188 | -%if %{enable_test} | |
189 | -BuildRequires: library/perl-5/extutils-makemaker-526 | |
190 | -BuildRequires: library/perl-5/file-temp-526 | |
191 | -BuildRequires: library/perl-5/io-526 | |
192 | -BuildRequires: library/perl-5/ipc-cmd-526 | |
193 | -BuildRequires: library/perl-5/pathtools-526 | |
194 | -BuildRequires: library/perl-5/perl-ostype-526 | |
195 | -BuildRequires: library/perl-5/text-parsewords-526 | |
196 | -%endif | |
197 | -Requires: runtime/perl-526 = * | |
198 | -Requires: library/perl-5/%{ips_cpan_name} | |
199 | -Requires: library/perl-5/extutils-makemaker-526 | |
200 | -Requires: library/perl-5/file-temp-526 | |
201 | -Requires: library/perl-5/io-526 | |
202 | -Requires: library/perl-5/ipc-cmd-526 | |
203 | -Requires: library/perl-5/pathtools-526 | |
204 | -Requires: library/perl-5/perl-ostype-526 | |
205 | -Requires: library/perl-5/text-parsewords-526 | |
206 | - | |
207 | -%description 526 | |
208 | -Compile and link C code for Perl modules | |
209 | -%endif | |
210 | - | |
211 | -%if %{build526jposug} | |
212 | 28 | %package 526jposug |
213 | 29 | IPS_package_name: library/perl-5/%{ips_cpan_name}-526jposug |
214 | 30 | Summary: Compile and link C code for Perl modules |
215 | 31 | BuildRequires: runtime/perl-526jposug = * |
216 | 32 | BuildRequires: library/perl-5/extutils-makemaker-526jposug |
33 | +%if %{enable_test} | |
217 | 34 | BuildRequires: library/perl-5/test-simple-526jposug |
218 | -%if %{enable_test} | |
219 | 35 | BuildRequires: library/perl-5/extutils-makemaker-526jposug |
220 | 36 | BuildRequires: library/perl-5/file-temp-526jposug |
221 | 37 | BuildRequires: library/perl-5/io-526jposug |
@@ -225,7 +41,7 @@ | ||
225 | 41 | BuildRequires: library/perl-5/text-parsewords-526jposug |
226 | 42 | %endif |
227 | 43 | Requires: runtime/perl-526jposug = * |
228 | -Requires: library/perl-5/%{ips_cpan_name} | |
44 | +# Requires: library/perl-5/%{ips_cpan_name} | |
229 | 45 | Requires: library/perl-5/extutils-makemaker-526jposug |
230 | 46 | Requires: library/perl-5/file-temp-526jposug |
231 | 47 | Requires: library/perl-5/io-526jposug |
@@ -238,21 +54,48 @@ | ||
238 | 54 | Compile and link C code for Perl modules |
239 | 55 | %endif |
240 | 56 | |
57 | +%if %{build530} | |
58 | +%package 530jposug | |
59 | +IPS_package_name: jposug/library/perl-5/%{ips_cpan_name}-530jposug | |
60 | +Summary: Compile and link C code for Perl modules | |
61 | +BuildRequires: runtime/perl-530jposug = * | |
62 | +BuildRequires: jposug/library/perl-5/extutils-makemaker-530jposug | |
63 | +%if %{enable_test} | |
64 | +BuildRequires: library/perl-5/test-simple-530jposug | |
65 | +BuildRequires: jposug/library/perl-5/extutils-makemaker-530jposug | |
66 | +BuildRequires: jposug/library/perl-5/file-temp-530jposug | |
67 | +BuildRequires: jposug/library/perl-5/io-530jposug | |
68 | +BuildRequires: jposug/library/perl-5/ipc-cmd-530jposug | |
69 | +BuildRequires: jposug/library/perl-5/pathtools-530jposug | |
70 | +BuildRequires: jposug/library/perl-5/perl-ostype-530jposug | |
71 | +BuildRequires: jposug/library/perl-5/text-parsewords-530jposug | |
72 | +%endif | |
73 | +Requires: runtime/perl-530jposug = * | |
74 | +# Requires: jposug/library/perl-5/%{ips_cpan_name} | |
75 | +Requires: jposug/library/perl-5/extutils-makemaker-530jposug | |
76 | +Requires: jposug/library/perl-5/file-temp-530jposug | |
77 | +Requires: jposug/library/perl-5/io-530jposug | |
78 | +Requires: jposug/library/perl-5/ipc-cmd-530jposug | |
79 | +Requires: jposug/library/perl-5/pathtools-530jposug | |
80 | +Requires: jposug/library/perl-5/perl-ostype-530jposug | |
81 | +Requires: jposug/library/perl-5/text-parsewords-530jposug | |
82 | + | |
83 | +%description 530jposug | |
84 | +Compile and link C code for Perl modules | |
85 | +%endif | |
86 | + | |
87 | + | |
241 | 88 | %prep |
242 | 89 | %setup -q -n %{cpan_name}-%{version} |
243 | 90 | [ -d %{buildroot} ] && rm -rf %{buildroot} |
244 | 91 | |
245 | 92 | %build |
246 | 93 | build_with_makefile.pl_for() { |
94 | + [ -f xdefine ] && rm -f xdefine | |
95 | + [ -d blib ] && rm -rf blib | |
96 | + perl_ver=$1 | |
247 | 97 | test=$2 |
248 | - if [ "x${1}" = 'x5.26jposug' ] | |
249 | - then | |
250 | - perl_ver=$(echo $1 | sed -e 's/jposug//') | |
251 | - prefix=/opt/jposug | |
252 | - else | |
253 | - perl_ver=$1 | |
254 | - prefix=/usr | |
255 | - fi | |
98 | + prefix=/opt/jposug | |
256 | 99 | |
257 | 100 | perl_dir_prefix="${prefix}/perl5/${perl_ver}" |
258 | 101 | bindir="${perl_dir_prefix}/bin" |
@@ -270,15 +113,8 @@ | ||
270 | 113 | DESTDIR=$RPM_BUILD_ROOT \ |
271 | 114 | LIB=${perl_libdir} |
272 | 115 | |
273 | - echo ${perl_ver} | egrep '5\.(84|12)' > /dev/null && bin64=0 || bin64=1 | |
274 | - if [ ${bin64} -eq 0 ] | |
275 | - then | |
276 | - export CC='cc -m32' | |
277 | - export LD='cc -m32' | |
278 | - else | |
279 | - export CC='cc -m64' | |
280 | - export LD='cc -m64' | |
281 | - fi | |
116 | + export CC='cc -m64' | |
117 | + export LD='cc -m64' | |
282 | 118 | make CC="${CC}" LD="${LD}" |
283 | 119 | [ "x${PERL_DISABLE_TEST}" = 'xtrue' ] || [ "x${test}" = 'xwithout_test' ] || make test CC="${CC}" "LD=${LD}" |
284 | 120 | make pure_install |
@@ -286,14 +122,8 @@ | ||
286 | 122 | |
287 | 123 | build_with_build.pl_for() { |
288 | 124 | test=$2 |
289 | - if [ "x${1}" = 'x5.26jposug' ] | |
290 | - then | |
291 | - perl_ver=$(echo $1 | sed -e 's/jposug//') | |
292 | - prefix=/opt/jposug | |
293 | - else | |
294 | - perl_ver=$1 | |
295 | - prefix=/usr | |
296 | - fi | |
125 | + perl_ver=$1 | |
126 | + prefix=/opt/jposug | |
297 | 127 | |
298 | 128 | perl_dir_prefix="${prefix}/perl5/${perl_ver}" |
299 | 129 | bindir="${perl_dir_prefix}/bin" |
@@ -316,21 +146,15 @@ | ||
316 | 146 | } |
317 | 147 | |
318 | 148 | modify_bin_dir() { |
319 | - if [ "x${1}" = 'x5.26jposug' ] | |
320 | - then | |
321 | - perl_ver=$(echo $1 | sed -e 's/jposug//') | |
322 | - prefix=/opt/jposug | |
323 | - else | |
324 | - perl_ver=$1 | |
325 | - prefix=/usr | |
326 | - fi | |
149 | + perl_ver=$1 | |
150 | + prefix=/opt/jposug | |
327 | 151 | |
328 | 152 | if [ -d $RPM_BUILD_ROOT/${prefix}/bin ] |
329 | 153 | then |
330 | 154 | [ -d ${RPM_BUILD_ROOT}${prefix}/perl5/${perl_ver} ] || mkdir -p ${RPM_BUILD_ROOT}${prefix}/perl5/${perl_ver} |
331 | 155 | mv $RPM_BUILD_ROOT${prefix}/bin $RPM_BUILD_ROOT/${prefix}/perl5/${perl_ver}/bin |
332 | 156 | fi |
333 | - | |
157 | + | |
334 | 158 | if [ -d ${RPM_BUILD_ROOT}${prefix}/perl5/${perl_ver}/bin ] |
335 | 159 | then |
336 | 160 | for i in ${RPM_BUILD_ROOT}${prefix}/perl5/${perl_ver}/bin/* |
@@ -342,14 +166,8 @@ | ||
342 | 166 | } |
343 | 167 | |
344 | 168 | modify_man_dir() { |
345 | - if [ "x${1}" = 'x5.26jposug' ] | |
346 | - then | |
347 | - perl_ver=$(echo $1 | sed -e 's/jposug//') | |
348 | - prefix=/opt/jposug | |
349 | - else | |
350 | - perl_ver=$1 | |
351 | - prefix=/usr | |
352 | - fi | |
169 | + perl_ver=$1 | |
170 | + prefix=/opt/jposug | |
353 | 171 | |
354 | 172 | if [ -d $RPM_BUILD_ROOT${prefix}/perl5/${perl_ver}/man ] |
355 | 173 | then |
@@ -384,32 +202,12 @@ | ||
384 | 202 | |
385 | 203 | # To build without test, pass 'without_test' to build_for commaond. |
386 | 204 | # like 'build_for version without_test' |
387 | -%if %{build584} | |
388 | -build_for 5.8.4 | |
389 | -%endif | |
390 | - | |
391 | -%if %{build510} | |
392 | -build_for 5.10 | |
393 | -%endif | |
394 | - | |
395 | -%if %{build512} | |
396 | -build_for 5.12 | |
397 | -%endif | |
398 | - | |
399 | -%if %{build516} | |
400 | -build_for 5.16 | |
401 | -%endif | |
402 | - | |
403 | -%if %{build522} | |
404 | -build_for 5.22 | |
405 | -%endif | |
406 | - | |
407 | 205 | %if %{build526} |
408 | 206 | build_for 5.26 |
409 | 207 | %endif |
410 | 208 | |
411 | -%if %{build526jposug} | |
412 | -build_for 5.26jposug | |
209 | +%if %{build530} | |
210 | +build_for 5.30 | |
413 | 211 | %endif |
414 | 212 | |
415 | 213 | %install |
@@ -442,91 +240,7 @@ | ||
442 | 240 | %defattr(0755,root,bin,-) |
443 | 241 | %{_datadir}/man |
444 | 242 | |
445 | -%if %{build584} | |
446 | -%files 584 | |
447 | -%defattr(0755,root,bin,-) | |
448 | -%dir %attr (0755, root, sys) /usr | |
449 | -%if %{install_to_site_dir} | |
450 | -/usr/perl5/site_perl/5.8.4 | |
451 | -%else | |
452 | -/usr/perl5/vendor_perl/5.8.4 | |
453 | -%endif | |
454 | -%if %{include_executable} | |
455 | -/usr/perl5/5.8.4 | |
456 | -%endif | |
457 | -%endif | |
458 | - | |
459 | -%if %{build510} | |
460 | -%files 510 | |
461 | -%defattr(0755,root,bin,-) | |
462 | -%dir %attr (0755, root, sys) /usr | |
463 | -%if %{install_to_site_dir} | |
464 | -/usr/perl5/site_perl/5.10 | |
465 | -%else | |
466 | -/usr/perl5/vendor_perl/5.10 | |
467 | -%endif | |
468 | -%if %{include_executable} | |
469 | -/usr/perl5/5.1.0 | |
470 | -%endif | |
471 | -%endif | |
472 | - | |
473 | -%if %{build512} | |
474 | -%files 512 | |
475 | -%defattr(0755,root,bin,-) | |
476 | -%dir %attr (0755, root, sys) /usr | |
477 | -%if %{install_to_site_dir} | |
478 | -/usr/perl5/site_perl/5.12 | |
479 | -%else | |
480 | -/usr/perl5/vendor_perl/5.12 | |
481 | -%endif | |
482 | -%if %{include_executable} | |
483 | -/usr/perl5/5.12 | |
484 | -%endif | |
485 | -%endif | |
486 | - | |
487 | -%if %{build516} | |
488 | -%files 516 | |
489 | -%defattr(0755,root,bin,-) | |
490 | -%dir %attr (0755, root, sys) /usr | |
491 | -%if %{install_to_site_dir} | |
492 | -/usr/perl5/site_perl/5.16 | |
493 | -%else | |
494 | -/usr/perl5/vendor_perl/5.16 | |
495 | -%endif | |
496 | -%if %{include_executable} | |
497 | -/usr/perl5/5.16 | |
498 | -%endif | |
499 | -%endif | |
500 | - | |
501 | -%if %{build522} | |
502 | -%files 522 | |
503 | -%defattr(0755,root,bin,-) | |
504 | -%dir %attr (0755, root, sys) /usr | |
505 | -%if %{install_to_site_dir} | |
506 | -/usr/perl5/site_perl/5.22 | |
507 | -%else | |
508 | -/usr/perl5/vendor_perl/5.22 | |
509 | -%endif | |
510 | -%if %{include_executable} | |
511 | -/usr/perl5/5.22 | |
512 | -%endif | |
513 | -%endif | |
514 | - | |
515 | 243 | %if %{build526} |
516 | -%files 526 | |
517 | -%defattr(0755,root,bin,-) | |
518 | -%dir %attr (0755, root, sys) /usr | |
519 | -%if %{install_to_site_dir} | |
520 | -/usr/perl5/site_perl/5.26 | |
521 | -%else | |
522 | -/usr/perl5/vendor_perl/5.26 | |
523 | -%endif | |
524 | -%if %{include_executable} | |
525 | -/usr/perl5/5.26 | |
526 | -%endif | |
527 | -%endif | |
528 | - | |
529 | -%if %{build526jposug} | |
530 | 244 | %files 526jposug |
531 | 245 | %defattr(0755,root,bin,-) |
532 | 246 | %dir %attr (0755, root, sys) /opt |
@@ -540,7 +254,23 @@ | ||
540 | 254 | %endif |
541 | 255 | %endif |
542 | 256 | |
257 | +%if %{build530} | |
258 | +%files 530jposug | |
259 | +%defattr(0755,root,bin,-) | |
260 | +%dir %attr (0755, root, sys) /opt | |
261 | +%if %{install_to_site_dir} | |
262 | +/opt/jposug/perl5/site_perl/5.30 | |
263 | +%else | |
264 | +/opt/jposug/perl5/vendor_perl/5.30 | |
265 | +%endif | |
266 | +%if %{include_executable} | |
267 | +/opt/jposug/perl5/5.30 | |
268 | +%endif | |
269 | +%endif | |
270 | + | |
543 | 271 | %changelog |
272 | +* Wed Mar 18 2020 - Fumihisa TONAKA <fumi.ftnk@gmail.com> | |
273 | +- bump to 0.280234 and only build for JPOSUG perl packages | |
544 | 274 | * Thu May 24 2018 - Fumihisa TONAKA <fumi.ftnk@gmail.com> |
545 | 275 | - bump to 0.280230 and add packages for perl-5{22,26{,jposug}} |
546 | 276 | * Sat Nov 07 2015 - Fumihisa TONAKA <fumi.ftnk@gmail.com> |