Hello community,

here is the log from the commit of package ocaml-rpm-macros for 
openSUSE:Leap:15.2 checked in at 2020-05-25 13:40:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ocaml-rpm-macros (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ocaml-rpm-macros.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-rpm-macros"

Mon May 25 13:40:15 2020 rev:3 rq:808426 version:20200514

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ocaml-rpm-macros/ocaml-rpm-macros.changes      
2020-04-17 13:36:32.932174991 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.ocaml-rpm-macros.new.2738/ocaml-rpm-macros.changes
    2020-05-25 13:40:17.587100887 +0200
@@ -1,0 +2,8 @@
+Thu May 14 14:14:14 UTC 2020 - oher...@suse.de
+
+- The filename for rpm *.attr files and the tag used within these
+  files must match. Otherwise rpm will not execute the helper scripts.
+  Stick with tag 'ocaml', rename zocaml.attr to ocaml.attr. (bsc#1154874)
+- Escape plain % chars
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ocaml-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.NVUzxe/_old  2020-05-25 13:40:17.943101654 +0200
+++ /var/tmp/diff_new_pack.NVUzxe/_new  2020-05-25 13:40:17.947101662 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-rpm-macros
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 Name:           ocaml-rpm-macros
-Version:        20200412
+Version:        20200514
 Release:        0
 Summary:        RPM macros for building OCaml source packages
 License:        GPL-2.0-only
@@ -63,14 +63,15 @@
 
 %install
 # map ocamlobjinfo output to rpm Provides/Requires
+# this tag name MUST match what ocaml.spec uses internally
 tag="ocaml"
 mkdir -vp %{buildroot}%{_rpmconfigdir}/fileattrs
-tee %{buildroot}%{_rpmconfigdir}/fileattrs/z${tag}.attr <<_EOF_
-%__${tag}_provides %%{_rpmconfigdir}/${tag}.sh --provides
-%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh --requires
-%__${tag}_magic    ^(ELF|Objective caml|OCaml) .*$
-%__${tag}_path     .(cma|cmi|cmo|cmx|cmxa|cmxs)$
-%__${tag}_flags    magic_and_path
+tee %{buildroot}%{_rpmconfigdir}/fileattrs/${tag}.attr <<_EOF_
+%%__${tag}_provides %%{_rpmconfigdir}/${tag}.sh --provides
+%%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh --requires
+%%__${tag}_magic    ^(ELF|Objective caml|OCaml) .*$
+%%__${tag}_path     .(cma|cmi|cmo|cmx|cmxa|cmxs)$
+%%__${tag}_flags    magic_and_path
 _EOF_
 #
 tee %{buildroot}%{_rpmconfigdir}/${tag}.sh < %{SOURCE0}
@@ -79,9 +80,9 @@
 tag="ocamlfind"
 mkdir -vp %{buildroot}%{_rpmconfigdir}/fileattrs
 tee %{buildroot}%{_rpmconfigdir}/fileattrs/${tag}.attr <<_EOF_
-%__${tag}_provides %%{_rpmconfigdir}/${tag}.sh -prov
-%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh -req
-%__${tag}_path     
^%{ocaml_standard_library}/.*/META$|^%{ocaml_standard_library}/META$
+%%__${tag}_provides %%{_rpmconfigdir}/${tag}.sh -prov
+%%__${tag}_requires %%{_rpmconfigdir}/${tag}.sh -req
+%%__${tag}_path     
^%{ocaml_standard_library}/.*/META$|^%{ocaml_standard_library}/META$
 _EOF_
 #
 tee %{buildroot}%{_rpmconfigdir}/${tag}.sh < %{SOURCE1}


Reply via email to