- SLE_12 has still no license macro, package as doc instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=28
This commit is contained in:
parent
8fc5a9e55c
commit
6acae0361b
@ -11,6 +11,7 @@ Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
|||||||
- Pass --for-release-of-packages to dune via dune_release_pkgs=
|
- Pass --for-release-of-packages to dune via dune_release_pkgs=
|
||||||
- Print potential BuildRequires during build
|
- Print potential BuildRequires during build
|
||||||
- Package sml for camlp5
|
- Package sml for camlp5
|
||||||
|
- SLE_12 has still no license macro, package as doc instead
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
|
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
|
||||||
|
@ -115,7 +115,12 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
|
|||||||
LICENSE.txt \\\
|
LICENSE.txt \\\
|
||||||
;\
|
;\
|
||||||
do\
|
do\
|
||||||
test -f "${license}" && echo "%%%%license ${license}" >> '%%{name}.files.license' ;\
|
%if 0%{?suse_version} > 1315
|
||||||
|
license_macro='license' ;\
|
||||||
|
%else
|
||||||
|
license_macro='doc' ;\
|
||||||
|
%endif
|
||||||
|
test -f "${license}" && echo "%%%%${license_macro} ${license}" >> '%%{name}.files.license' ;\
|
||||||
done ;\
|
done ;\
|
||||||
find %%{buildroot}$(ocamlc -where) | sed -ne '\
|
find %%{buildroot}$(ocamlc -where) | sed -ne '\
|
||||||
s@^%%{buildroot}@@\
|
s@^%%{buildroot}@@\
|
||||||
|
Loading…
Reference in New Issue
Block a user