1
0

- 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
This commit is contained in:
Olaf Hering 2019-10-04 14:54:46 +00:00 committed by Git OBS Bridge
parent 92be201226
commit 936a867b8b
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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