Hello community,
here is the log from the commit of package ocaml-rpm-macros for
openSUSE:Factory checked in at 2019-10-14 14:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-rpm-macros (Old)
and /work/SRC/openSUSE:Factory/.ocaml-rpm-macros.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-rpm-macros"
Mon Oct 14 14:52:35 2019 rev:2 rq:737404 version:20191009
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-rpm-macros/ocaml-rpm-macros.changes
2019-10-07 13:41:08.252324198 +0200
+++
/work/SRC/openSUSE:Factory/.ocaml-rpm-macros.new.2352/ocaml-rpm-macros.changes
2019-10-14 14:52:36.710276019 +0200
@@ -1,0 +2,11 @@
+Wed Oct 9 05:48:16 UTC 2019 - [email protected]
+
+- Package also COPYRIGHT, for labltk
+- Package also Copyright, for dose3
+- Package also *.cmo
+- Package also *.so.owner
+- Package also *.o
+- Package also /etc/ld.so.conf.d
+- Package also *.js
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.U6B454/_old 2019-10-14 14:52:37.358274329 +0200
+++ /var/tmp/diff_new_pack.U6B454/_new 2019-10-14 14:52:37.362274318 +0200
@@ -16,7 +16,7 @@
#
Name: ocaml-rpm-macros
-Version: 20191004
+Version: 20191009
Release: 0
Summary: RPM macros for building OCaml source packages
License: GPL-2.0-only
@@ -90,10 +90,13 @@
%%ocaml_create_file_list \
> %%{name}.files ;\
> %%{name}.files.devel ;\
+ > %%{name}.files.ldsoconf ;\
> %%{name}.files.unhandled ;\
for i in \\\
COPYING \\\
COPYING.txt \\\
+ COPYRIGHT \\\
+ Copyright \\\
LICENCE \\\
LICENSE \\\
LICENSE.md \\\
@@ -113,7 +116,7 @@
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\\|js\\|ml\\|mli\\|o\\)$/{\
w %%{name}.files.devel\
s@\\/[^/]\\+$@@\
s@^@%%dir @\
@@ -122,7 +125,17 @@
w %%{name}.files.devel\
d\
}\
- /\\/[^/]\\+\\.\\(cmxs\\|so\\)$/{\
+ /\\/[^/]\\+\\.\\(so\\|so.owner\\)$/{\
+ w %%{name}.files\
+ s@\\/[^/]\\+$@@\
+ w %%{name}.files.ldsoconf\
+ s@^@%%dir @\
+ w %%{name}.files\
+ s@\\/[^/]\\+$@@\
+ w %%{name}.files\
+ d\
+ }\
+ /\\/[^/]\\+\\.\\(cmxs\\)$/{\
w %%{name}.files\
s@\\/[^/]\\+$@@\
s@^@%%dir @\
@@ -134,12 +147,29 @@
w %%{name}.files.unhandled\
d\
' ;\
- for i in %%{name}.files %%{name}.files.devel ;\
+ for i in \\\
+ %%{name}.files \\\
+ %%{name}.files.devel \\\
+ %%{name}.files.ldsoconf \\\
+ %%{name}.files.unhandled \\\
+ ;\
do\
sort -u $i > $$ ;\
mv $$ $i ;\
done ;\
- head -n 1234 %%{name}.files %%{name}.files.devel
%%{name}.files.unhandled ;\
+ if test -s %%{name}.files.ldsoconf ;\
+ then \
+ ldsoconfd='/etc/ld.so.conf.d' ;\
+ mkdir -vp "%%{buildroot}${ldsoconfd}" ;\
+ tee "%%{buildroot}${ldsoconfd}/%%{name}.conf" <
%%{name}.files.ldsoconf ;\
+ echo "%config ${ldsoconfd}/%%{name}.conf" >> %%{name}.files ;\
+ fi ;\
+ head -n 1234 \\\
+ %%{name}.files \\\
+ %%{name}.files.devel \\\
+ %%{name}.files.ldsoconf \\\
+ %%{name}.files.unhandled \\\
+ ;\
%%{nil}
# setup.ml comes from oasis, but this is here for libs oasis depends on