From f65f0d584c12475c8807d4368704bc303e09a40c0aca81ad168ff60e4699efd7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 9 Oct 2019 18:15:45 +0000 Subject: [PATCH] - Package also *.o OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=20 --- ocaml-rpm-macros.changes | 1 + ocaml-rpm-macros.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ocaml-rpm-macros.changes b/ocaml-rpm-macros.changes index b715803..bf72d0d 100644 --- a/ocaml-rpm-macros.changes +++ b/ocaml-rpm-macros.changes @@ -4,6 +4,7 @@ Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de - Package also COPYRIGHT, for labltk - Package also *.cmo - Package also *.so.owner +- Package also *.o ------------------------------------------------------------------- Fri Oct 4 07:56:44 UTC 2019 - ohering@suse.de diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index c8840bc..6ba7411 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -114,7 +114,7 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_' w %%{name}.files.devel\ d\ }\ - /\\/[^/]\\+\\.\\(a\\|annot\\|cmx\\|cmxa\\|cma\\|cmi\\|cmo\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\)$/{\ + /\\/[^/]\\+\\.\\(a\\|annot\\|cmx\\|cmxa\\|cma\\|cmi\\|cmo\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\|o\\)$/{\ w %%{name}.files.devel\ s@\\/[^/]\\+$@@\ s@^@%%dir @\