Olaf Hering 2019-10-10 06:53:50 +00:00 committed by Git OBS Bridge
parent 523a87652d
commit 7110468d2c

View File

@ -161,8 +161,8 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
then \ then \
ldsoconfd='/etc/ld.so.conf.d' ;\ ldsoconfd='/etc/ld.so.conf.d' ;\
mkdir -vp "%%{buildroot}${ldsoconfd}" ;\ mkdir -vp "%%{buildroot}${ldsoconfd}" ;\
sort -u %%{name}.files.ldsoconf > "%%{buildroot}${ldsoconfd}/%%{name}.conf" ;\ tee "%%{buildroot}${ldsoconfd}/%%{name}.conf" < %%{name}.files.ldsoconf ;\
echo "%config %%{buildroot}${ldsoconfd}/%%{name}.conf" >> %%{name}.files ;\ echo "%config ${ldsoconfd}/%%{name}.conf" >> %%{name}.files ;\
fi ;\ fi ;\
head -n 1234 \\\ head -n 1234 \\\
%%{name}.files \\\ %%{name}.files \\\