do not expand rpm license string

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=15
This commit is contained in:
Olaf Hering 2019-10-04 15:20:46 +00:00 committed by Git OBS Bridge
parent d21fed5b41
commit 20206860c2

View File

@ -100,7 +100,7 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
LICENSE.txt \\\
;\
do\
test -f "$i" && echo "%%license $i" >> %%{name}.files ;\
test -f "$i" && echo "%%%%license $i" >> %%{name}.files ;\
done ;\
find %%{buildroot}$(ocamlc -where) | sed -ne '\
s@^%%{buildroot}@@\