From 7110468d2cfd6c3ac5465b474b353b14686b079193d69d5d404599716dfc249a Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 10 Oct 2019 06:53:50 +0000 Subject: [PATCH] fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=23 --- ocaml-rpm-macros.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index 0da9881..981e4f0 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -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 \\\