From 936a867b8b77f35634a3a99e72a81fb4cad2dc12bfbf48a0499dcc0cf8056de4 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 4 Oct 2019 14:54:46 +0000 Subject: [PATCH] - List unhandled files in ocaml_create_file_list macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=11 --- ocaml-rpm-macros.changes | 1 + ocaml-rpm-macros.spec | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ocaml-rpm-macros.changes b/ocaml-rpm-macros.changes index 7e60832..de23b89 100644 --- a/ocaml-rpm-macros.changes +++ b/ocaml-rpm-macros.changes @@ -3,6 +3,7 @@ Fri Oct 4 07:56:44 UTC 2019 - ohering@suse.de - Use _rpmmacrodir - Automatically package known license files in main pkg +- List unhandled files in ocaml_create_file_list macro ------------------------------------------------------------------- Mon Sep 30 14:15:16 UTC 2019 - ohering@suse.de diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index 5d8a685..0372a91 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -130,14 +130,15 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_' w %%{name}.files\ d\ }\ - p\ + w %%{name}.files.unhandled\ + d ' ;\ for i in %%{name}.files %%{name}.files.devel ;\ do\ sort -u $i > $$ ;\ mv $$ $i ;\ done ;\ - head -n 1234 %%{name}.files %%{name}.files.devel ;\ + head -n 1234 %%{name}.files %%{name}.files.devel %%{name}.files.unhandled ;\ %%{nil} # setup.ml comes from oasis, but this is here for libs oasis depends on