openpkg/rpmmacros

changeset 427
71503088f51b
parent 303
2bd9bf3f6f03
child 428
f880f219c566
equal deleted inserted replaced
1:a637ff977ab9 2:6f8d35f0066f
297 %l_files_noshared '%%not %%dir {%{l_prefix},%{l_prefix}/*,%{l_prefix}/etc/rc.d,%{l_prefix}/man/*}' 297 %l_files_noshared '%%not %%dir {%{l_prefix},%{l_prefix}/*,%{l_prefix}/etc/rc.d,%{l_prefix}/man/*}'
298 %l_files_std() %l_files_defattr %l_files_all %l_files_noshared 298 %l_files_std() %l_files_defattr %l_files_all %l_files_noshared
299 299
300 # path to local build root 300 # path to local build root
301 %l_buildroot %{_tmppath}/%{name}-%{version}-root 301 %l_buildroot %{_tmppath}/%{name}-%{version}-root
302 %buildroot %{l_buildroot}
302 303
303 # path to local temporary location 304 # path to local temporary location
304 %l_tmpdir() %{_tmppath} 305 %l_tmpdir() %{_tmppath}
305 %l_tmpfile() %{l_tmpdir}/%{name}-%{version}-%{release}-tmp%{?1:-%1} 306 %l_tmpfile() %{l_tmpdir}/%{name}-%{version}-%{release}-tmp%{?1:-%1}
306 307
436 %{l_vcheck} -v -f $VCFILE || true\ 437 %{l_vcheck} -v -f $VCFILE || true\
437 fi\ 438 fi\
438 rm -f $VCFILE\ 439 rm -f $VCFILE\
439 %{nil} 440 %{nil}
440 441
442 # automatically include never changing RPM header text
443 %__hook_description_1 %{lua: \
444 local prefix = rpm.expand("%{l_prefix_static}") \
445 if rpm.expand("%{?prefix}") ~= prefix then \
446 print(string.format("Prefix: %s\\n", prefix)) \
447 end \
448 print("AutoReq: no\\n") \
449 print("AutoReqProv: no\\n") \
450 }
451

mercurial