Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ocaml-rpm-macros for 
openSUSE:Factory checked in at 2021-01-19 16:00:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-rpm-macros (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-rpm-macros.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-rpm-macros"

Tue Jan 19 16:00:49 2021 rev:10 rq:864001 version:20210114

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-rpm-macros/ocaml-rpm-macros.changes        
2020-08-28 23:45:07.243496310 +0200
+++ 
/work/SRC/openSUSE:Factory/.ocaml-rpm-macros.new.28504/ocaml-rpm-macros.changes 
    2021-01-19 16:01:08.311284209 +0100
@@ -1,0 +2,7 @@
+Thu Jan 14 14:14:14 UTC 2021 - oher...@suse.de
+
+- Adjust injection of version into findlib META files
+  A file VERSION is not handled anymore by dune since 1.11.
+  Remove version: from *.opam files, inject version into dune-project
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.Wk1uru/_old  2021-01-19 16:01:09.047285321 +0100
+++ /var/tmp/diff_new_pack.Wk1uru/_new  2021-01-19 16:01:09.047285321 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           ocaml-rpm-macros
-Version:        20200820
+Version:        20210114
 Release:        0
 Summary:        RPM macros for building OCaml source packages
 License:        GPL-2.0-only
@@ -410,6 +410,22 @@
        ulimit -s $((1024 * 64)) ; \
 %endif
        echo '%%{version}' | tee VERSION ; \
+       for opam in *.opam \
+       do\
+               test -f "${opam}" || continue ; \
+               sed -i~ '\
+               /^version:/d\
+               ' "${opam}" ; \
+               diff -u "$_"~ "$_" || : got version ; \
+       done ; \
+       if test -f 'dune-project' ; \
+       then \
+               sed -i~ '\
+               /^([[:blank:]]*version[[:blank:]]\\+/d\
+               /^([[:blank:]]*lang[[:blank:]]\\+dune[[:blank:]]/a (version 
%%{version})\
+               ' 'dune-project'; \
+               diff -u "$_"~ "$_" || : got version ; \
+       fi ; \
        dune_for_release= ; \
        : dune_release_pkgs \
        if test -n "${dune_release_pkgs}" ; \

Reply via email to