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 \
ldsoconfd='/etc/ld.so.conf.d' ;\
mkdir -vp "%%{buildroot}${ldsoconfd}" ;\
sort -u %%{name}.files.ldsoconf > "%%{buildroot}${ldsoconfd}/%%{name}.conf" ;\
echo "%config %%{buildroot}${ldsoconfd}/%%{name}.conf" >> %%{name}.files ;\
tee "%%{buildroot}${ldsoconfd}/%%{name}.conf" < %%{name}.files.ldsoconf ;\
echo "%config ${ldsoconfd}/%%{name}.conf" >> %%{name}.files ;\
fi ;\
head -n 1234 \\\
%%{name}.files \\\