- Package also COPYRIGHT, for labltk

- Package also *.cmo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=17
This commit is contained in:
Olaf Hering 2019-10-09 16:40:09 +00:00 committed by Git OBS Bridge
parent 3f7e384274
commit 828b8c785a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
- Package also COPYRIGHT, for labltk
- Package also *.cmo
-------------------------------------------------------------------
Fri Oct 4 07:56:44 UTC 2019 - ohering@suse.de

View File

@ -94,6 +94,7 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
for i in \\\
COPYING \\\
COPYING.txt \\\
COPYRIGHT \\\
LICENCE \\\
LICENSE \\\
LICENSE.md \\\
@ -113,7 +114,7 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
w %%{name}.files.devel\
d\
}\
/\\/[^/]\\+\\.\\(a\\|annot\\|cmx\\|cmxa\\|cma\\|cmi\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\)$/{\
/\\/[^/]\\+\\.\\(a\\|annot\\|cmx\\|cmxa\\|cma\\|cmi\\|cmo\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\)$/{\
w %%{name}.files.devel\
s@\\/[^/]\\+$@@\
s@^@%%dir @\