Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2019-11-07 23:14:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-findlib.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-findlib"

Thu Nov  7 23:14:26 2019 rev:9 rq:745387 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes      
2019-10-14 14:52:15.618331027 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new.2990/ocaml-findlib.changes    
2019-11-07 23:14:28.728400205 +0100
@@ -1,0 +2,8 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current rpm macros
+- Remove camlp4 subpackage
+- Move META files for stdlib and camlp4 to their own package
+  to remove the build dependency to this package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ocaml-findlib.spec ++++++
--- /var/tmp/diff_new_pack.C3i4te/_old  2019-11-07 23:14:29.620401182 +0100
+++ /var/tmp/diff_new_pack.C3i4te/_new  2019-11-07 23:14:29.628401191 +0100
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,7 +27,6 @@
 
 Url:            https://github.com/ocaml/ocamlfind
 Source0:        findlib-%{version}.tar.xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #
 Requires:       ocaml-compiler-libs
 Requires:       ocaml-runtime
@@ -37,10 +36,9 @@
 BuildRequires:  m4
 BuildRequires:  ncurses-devel
 BuildRequires:  ocaml
-BuildRequires:  ocaml-camlp4-devel
 BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 20190930
+BuildRequires:  ocaml-rpm-macros >= 20191101
 
 %description
 Findlib is a library manager for Objective Caml. It provides a
@@ -49,28 +47,22 @@
 for interpreting the META files, so that it is very easy to use
 libraries in programs and scripts.
 
-
 %package        devel
 Summary:        Development files for ocaml-findlib
 Group:          Development/Languages/OCaml
 Requires:       %{name} = %{version}
+Provides:       %{name}-camlp4 = %{version}-%{release}
+Obsoletes:      %{name}-camlp4 < %{version}-%{release}
 
 %description    devel
 The ocaml-findlib-devel package contains libraries and signature files
 for developing applications that use ocaml-findlib.
 
-%package camlp4
-Summary:        Development files for ocaml-findlib
-Group:          Development/Languages/OCaml
-Requires:       ocaml-camlp4-devel
-
-%description camlp4
-The ocaml-findlib-camlp4 contains signature files for developing applications 
that use camlp4
-
 %prep
 %autosetup -p1 -n findlib-%{version}
 
 %build
+rm -rfv site-lib-src
 (cd tools/extract_args && make)
 tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp 
ocamlmktop ocamlopt ocamldep ocamldoc ||:
 ./configure -config %{_libdir}/ocaml/ocamlfind.conf \
@@ -89,26 +81,7 @@
 rm -rfv %{buildroot}%{_libdir}/ocaml/ocamlbuild
 %ocaml_create_file_list
 
-# camlp4 support nee
-sed -i~ '
-/\/camlp4/ {
-w %{name}.files.camlp4
-d
-}
-/\/findlib/ {
-b
-}
-/\/num-top/ {
-b
-}
-w %{name}.files.x
-d
-' %{name}.files.devel
-diff -u "$_"~ "$_" && exit 2
-tee -a %{name}.files < %{name}.files.x
-
 %files -f %{name}.files
-%license LICENSE
 %{_libdir}/ocaml/ocamlfind.conf
 %{_libdir}/ocaml/topfind
 %{_bindir}/*
@@ -118,6 +91,4 @@
 %files devel -f %{name}.files.devel
 %{_libdir}/ocaml/*/Makefile.config
 
-%files camlp4 -f %{name}.files.camlp4
-
 %changelog


Reply via email to