commit ocaml-findlib for openSUSE:Factory

2020-02-29 Thread root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2020-02-29 21:20:09

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new.26092 (New)


Package is "ocaml-findlib"

Sat Feb 29 21:20:09 2020 rev:10 rq:778860 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2019-11-07 23:14:28.728400205 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new.26092/ocaml-findlib.changes   
2020-02-29 21:20:18.734017530 +0100
@@ -1,0 +2,6 @@
+Thu Feb 20 20:20:20 UTC 2020 - oher...@suse.de
+
+- Require current ocaml-rpm-macros
+- Remove unused dependency to ocamlbuild in preparation of ocamlbuild removal
+
+---



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.u3CzQG/_old  2020-02-29 21:20:19.246018543 +0100
+++ /var/tmp/diff_new_pack.u3CzQG/_new  2020-02-29 21:20:19.250018551 +0100
@@ -36,9 +36,8 @@
 BuildRequires:  m4
 BuildRequires:  ncurses-devel
 BuildRequires:  ocaml
-BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocaml-rpm-macros >= 20200220
 
 %description
 Findlib is a library manager for Objective Caml. It provides a
@@ -65,9 +64,9 @@
 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 \
+./configure -config %{ocaml_standard_library}/ocamlfind.conf \
   -bindir %{_bindir} \
-  -sitelib `ocamlc -where` \
+  -sitelib '%{ocaml_standard_library}' \
   -mandir %{_mandir} \
   -with-toolbox
 make all
@@ -78,17 +77,17 @@
 
 %install
 make install prefix=%{buildroot}
-rm -rfv %{buildroot}%{_libdir}/ocaml/ocamlbuild
+rm -rfv %{buildroot}%{ocaml_standard_library}/ocamlbuild
 %ocaml_create_file_list
 
 %files -f %{name}.files
-%{_libdir}/ocaml/ocamlfind.conf
-%{_libdir}/ocaml/topfind
+%{ocaml_standard_library}/ocamlfind.conf
+%{ocaml_standard_library}/topfind
 %{_bindir}/*
 %{_mandir}/man?/*
 #
 
 %files devel -f %{name}.files.devel
-%{_libdir}/ocaml/*/Makefile.config
+%{ocaml_standard_library}/*/Makefile.config
 
 %changelog




commit ocaml-findlib for openSUSE:Factory

2019-11-07 Thread root
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 - oher...@suse.de
+
+- 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.
 
-
 %packagedevel
 Summary:Development files for ocaml-findlib
 Group:  Development/Languages/OCaml
 Requires:   %{name} = %{version}
+Provides:   %{name}-camlp4 = %{version}-%{release}
+Obsoletes:  %{name}-camlp4 < %{version}-%{release}
 
 %descriptiondevel
 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




commit ocaml-findlib for openSUSE:Factory

2019-10-14 Thread root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2019-10-14 14:52:13

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new.2352 (New)


Package is "ocaml-findlib"

Mon Oct 14 14:52:13 2019 rev:8 rq:737376 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2019-08-27 10:14:54.607965447 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new.2352/ocaml-findlib.changes
2019-10-14 14:52:15.618331027 +0200
@@ -1,0 +2,21 @@
+Wed Oct  2 17:59:21 UTC 2019 - oher...@suse.de
+
+- Move to github, use _service file
+
+---
+Mon Sep 23 16:35:39 UTC 2019 - oher...@suse.de
+
+- Update to upstream version 1.8.1
+   Adapted to upcoming ocaml-4.09.
+   New API Findlib.list_packages' can specify a package prefix.
+   Fix reinstallation of "num" for OCaml-4.06.
+   Fix build with OCaml-4.07.
+   The installation of graphics/META is now optional.
+   Fix "ocamlfind query -d".
+   The environment variable OCAMLFIND_IGNORE_DUPS_IN is now interpreted as a 
list of directories.
+   Packages for "ocamlfind query" may now be separated by commas, too.
+   New "warning" property for packages.
+   Forgetting to pass -thread/-vmthread only prints a warning now, but doesn't 
stop the build.
+   For dealing with case-sensitive filesystems it is now only tried to match 
ASCII characters, but not encoding-dependent characters.
+
+---

Old:

  findlib-1.7.3.tar.xz

New:

  _service
  findlib-1.8.1.tar.xz



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.YRiV8f/_old  2019-10-14 14:52:16.322329191 +0200
+++ /var/tmp/diff_new_pack.YRiV8f/_new  2019-10-14 14:52:16.322329191 +0200
@@ -18,32 +18,29 @@
 
 
 Name:   ocaml-findlib
-Version:1.7.3
+Version:1.8.1
 Release:0
 %{?ocaml_preserve_bytecode}
 Summary:Objective CAML package manager and build helper
 License:MIT
 Group:  Development/Languages/OCaml
 
-Url:http://projects.camlcity.org/projects/findlib.html
+Url:https://github.com/ocaml/ocamlfind
 Source0:findlib-%{version}.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #
-Recommends: ocaml-findlib-camlp4
-#
 Requires:   ocaml-compiler-libs
 Requires:   ocaml-runtime
 #
 Provides:   ocamlfind = %{version}
 
-BuildRequires:  gawk
 BuildRequires:  m4
 BuildRequires:  ncurses-devel
-BuildRequires:  ocaml >= 4.02.0
-BuildRequires:  ocaml-camlp4-devel >= 4.02.0
+BuildRequires:  ocaml
+BuildRequires:  ocaml-camlp4-devel
 BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.02.1
+BuildRequires:  ocaml-rpm-macros >= 20190930
 
 %description
 Findlib is a library manager for Objective Caml. It provides a
@@ -62,8 +59,6 @@
 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
@@ -73,7 +68,7 @@
 The ocaml-findlib-camlp4 contains signature files for developing applications 
that use camlp4
 
 %prep
-%setup -q -n findlib-%{version}
+%autosetup -p1 -n findlib-%{version}
 
 %build
 (cd tools/extract_args && make)
@@ -87,57 +82,42 @@
 %if 0%{?ocaml_native_compiler}
 make opt
 %endif
-rm doc/guide-html/TIMESTAMP
+rm -fv doc/guide-html/TIMESTAMP
 
 %install
-make install prefix=$RPM_BUILD_ROOT
-rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
+make install prefix=%{buildroot}
+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
-%defattr(-,root,root,-)
-%doc LICENSE doc/README
+%files -f %{name}.files
+%license LICENSE
 %{_libdir}/ocaml/ocamlfind.conf
+%{_libdir}/ocaml/topfind
 %{_bindir}/*
 %{_mandir}/man?/*
 #
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%{_libdir}/ocaml/*/META
-#
-%exclude %dir %{_libdir}/ocaml/camlp4
-%exclude %dir %{_libdir}/ocaml/findlib
-%exclude %dir %{_libdir}/ocaml/num-top
-%exclude %{_libdir}/ocaml/camlp4/META
-%exclude %{_libdir}/ocaml/findlib/META
-%exclude %{_libdir}/ocaml/num-top/META
-%{_libdir}/ocaml/topfind
-%dir %{_libdir}/ocaml/findlib
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%endif
 
-%files devel

commit ocaml-findlib for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2019-08-27 10:14:53

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new.7948 (New)


Package is "ocaml-findlib"

Tue Aug 27 10:14:53 2019 rev:7 rq:725330 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2017-08-18 15:03:07.360979082 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new.7948/ocaml-findlib.changes
2019-08-27 10:14:54.607965447 +0200
@@ -1,0 +2,6 @@
+Thu Aug 22 13:24:21 UTC 2019 - oher...@suse.de
+
+- Remove /etc/ocamlfind.conf because it is not configuration
+  but built-in constants.
+
+---



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.zQoT5h/_old  2019-08-27 10:14:55.007965421 +0200
+++ /var/tmp/diff_new_pack.zQoT5h/_new  2019-08-27 10:14:55.007965421 +0200
@@ -78,7 +78,7 @@
 %build
 (cd tools/extract_args && make)
 tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp 
ocamlmktop ocamlopt ocamldep ocamldoc ||:
-./configure -config %{_sysconfdir}/ocamlfind.conf \
+./configure -config %{_libdir}/ocaml/ocamlfind.conf \
   -bindir %{_bindir} \
   -sitelib `ocamlc -where` \
   -mandir %{_mandir} \
@@ -96,7 +96,7 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE doc/README
-%config(noreplace) %{_sysconfdir}/ocamlfind.conf
+%{_libdir}/ocaml/ocamlfind.conf
 %{_bindir}/*
 %{_mandir}/man?/*
 #




commit ocaml-findlib for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2017-08-18 15:03:05

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new (New)


Package is "ocaml-findlib"

Fri Aug 18 15:03:05 2017 rev:6 rq:517010 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2016-07-15 12:46:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new/ocaml-findlib.changes 
2017-08-18 15:03:07.360979082 +0200
@@ -1,0 +2,32 @@
+Tue Jul 25 13:04:54 UTC 2017 - oher...@suse.de
+
+- Use Group: Development/Languages/OCaml
+
+---
+Mon Jul 17 20:24:18 UTC 2017 - oher...@suse.de
+
+- Update to upstream version 1.7.3
+   Fix regarding num-top: this library is now also  optional, as num.
+   Trying to protect against failures when  several package installs are done 
in parallel.
+   New subpackage "findlib.top" for the toploop
+   The "num" library is now optional.
+   New command "ocamlfind printppx" that outputs how the ppx preprocessor 
would be called
+   Support for the raw_spacetime library that comes with OCaml 4.04
+   Require that ocamlc and ocamlc.opt are installed to the same directory
+   "ocamlfind printconf" respects the  environment variable OCAMLFIND_CONF
+   Build with -opaque
+   Preliminary support for native toplevel
+   New options: ocamlfind query -qe -qo
+- drop findlib-1.3.3.patch
+
+---
+Mon Jul 17 12:48:58 UTC 2017 - oher...@suse.de
+
+- Wrap specfile conditionals to fix quilt setup
+
+---
+Mon Jul 17 10:48:58 UTC 2017 - oher...@suse.de
+
+- Remove autodeps for pre openSUSE 12.1 releases
+
+---

Old:

  findlib-1.3.3.patch
  findlib-1.6.2.tar.xz

New:

  findlib-1.7.3.tar.xz



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.oU4W6V/_old  2017-08-18 15:03:08.944756134 +0200
+++ /var/tmp/diff_new_pack.oU4W6V/_new  2017-08-18 15:03:08.948755571 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-findlib
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010-2011 Andrew Psaltis 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,23 +18,16 @@
 
 
 Name:   ocaml-findlib
-Version:1.6.2
+Version:1.7.3
 Release:0
-%{ocaml_preserve_bytecode}
+%{?ocaml_preserve_bytecode}
 Summary:Objective CAML package manager and build helper
 License:MIT
-Group:  Development/Libraries/Other
+Group:  Development/Languages/OCaml
 
 Url:http://projects.camlcity.org/projects/findlib.html
 Source0:findlib-%{version}.tar.xz
-Patch0: findlib-1.3.3.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# ocaml autodep start for pkg: ocaml-findlib
-# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
-%if 0%{?suse_version} < 1210
-Requires:   ocaml-findlib-devel
-%endif
-# ocaml autodep end for pkg: ocaml-findlib
 #
 Recommends: ocaml-findlib-camlp4
 #
@@ -62,7 +55,7 @@
 
 %packagedevel
 Summary:Development files for ocaml-findlib
-Group:  Development/Libraries/Other
+Group:  Development/Languages/OCaml
 Requires:   %{name} = %{version}
 
 %descriptiondevel
@@ -72,14 +65,8 @@
 
 
 %package camlp4
-# ocaml autodep start for pkg: ocaml-findlib-camlp4
-# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
-%if 0%{?suse_version} < 1210
-Requires:   ocaml-findlib
-%endif
-# ocaml autodep end for pkg: ocaml-findlib-camlp4
 Summary:Development files for ocaml-findlib
-Group:  Development/Libraries/Other
+Group:  Development/Languages/OCaml
 Requires:   ocaml-camlp4-devel
 
 %description camlp4
@@ -87,7 +74,6 @@
 
 %prep
 %setup -q -n findlib-%{version}
-%patch0 -p1
 
 %build
 (cd tools/extract_args && make)
@@ -98,13 +84,13 @@
   -mandir %{_mandir} \
   -with-toolbox
 make all
-%if %{ocaml_native_compiler}
+%if 0%{?ocaml_native_compiler}
 make opt
 %endif
 rm doc/guide-html/TIMESTAMP
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install prefix=$RPM_BUILD_ROOT
 rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
 
 %files
@@ -115,32 +101,18 @@
 %{_mandir}/man?/*
 #
 %dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/bigarray
-%{_libdir}/ocaml/bigarray/META
-%dir 

commit ocaml-findlib for openSUSE:Factory

2016-07-15 Thread h_root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2016-07-15 12:46:11

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new (New)


Package is "ocaml-findlib"

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2014-10-31 20:19:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new/ocaml-findlib.changes 
2016-07-15 12:46:27.0 +0200
@@ -1,0 +2,20 @@
+Wed May 18 21:34:23 UTC 2016 - oher...@suse.de
+
+-  Update to upstream version 1.6.2 (fate#320836)
+   Adding an "ocamldoc" library, providing the cmi's for ocamldoc plugins
+   Support for OCaml-4.03: recognize that the new -color option has an argument
+   Adding support for dynamically loading  packages
+   new "plugin" variable, new  Fl_dynload module.
+   New command "ocamlfind lint" for checking META files
+   Allow to query the location of the META file of a package:
+   "ocamlfind query -format '%m'"
+   Get the install path for the META file of packages:
+   "ocamlfind printconf metapath"
+   The switch -only-show did not work as described.
+
+---
+Tue Nov 10 10:18:47 UTC 2015 - oher...@suse.de
+
+- Add hardcoded Provides for pre 12.1 repos
+
+---

Old:

  findlib-1.5.5.tar.xz

New:

  findlib-1.6.2.tar.xz



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.jotM1Y/_old  2016-07-15 12:46:29.0 +0200
+++ /var/tmp/diff_new_pack.jotM1Y/_new  2016-07-15 12:46:29.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-findlib
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010-2011 Andrew Psaltis 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,10 +17,10 @@
 #
 
 
-Version:1.5.5
+Name:   ocaml-findlib
+Version:1.6.2
 Release:0
 %{ocaml_preserve_bytecode}
-Name:   ocaml-findlib
 Summary:Objective CAML package manager and build helper
 License:MIT
 Group:  Development/Libraries/Other
@@ -29,7 +29,18 @@
 Source0:findlib-%{version}.tar.xz
 Patch0: findlib-1.3.3.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
+# ocaml autodep start for pkg: ocaml-findlib
+# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
+%if 0%{?suse_version} < 1210
+Requires:   ocaml-findlib-devel
+%endif
+# ocaml autodep end for pkg: ocaml-findlib
+#
+Recommends: ocaml-findlib-camlp4
+#
+Requires:   ocaml-compiler-libs
+Requires:   ocaml-runtime
+#
 Provides:   ocamlfind = %{version}
 
 BuildRequires:  gawk
@@ -37,6 +48,7 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  ocaml >= 4.02.0
 BuildRequires:  ocaml-camlp4-devel >= 4.02.0
+BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-rpm-macros >= 4.02.1
 
@@ -58,6 +70,21 @@
 for developing applications that use ocaml-findlib.
 
 
+
+%package camlp4
+# ocaml autodep start for pkg: ocaml-findlib-camlp4
+# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
+%if 0%{?suse_version} < 1210
+Requires:   ocaml-findlib
+%endif
+# ocaml autodep end for pkg: ocaml-findlib-camlp4
+Summary:Development files for ocaml-findlib
+Group:  Development/Libraries/Other
+Requires:   ocaml-camlp4-devel
+
+%description camlp4
+The ocaml-findlib-camlp4 contains signature files for developing applications 
that use camlp4
+
 %prep
 %setup -q -n findlib-%{version}
 %patch0 -p1
@@ -65,7 +92,6 @@
 %build
 (cd tools/extract_args && make)
 tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp 
ocamlmktop ocamlopt ocamldep ocamldoc ||:
-#cat src/findlib/ocaml_args.ml
 ./configure -config %{_sysconfdir}/ocamlfind.conf \
   -bindir %{_bindir} \
   -sitelib `ocamlc -where` \
@@ -79,6 +105,7 @@
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
+rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
 
 %files
 %defattr(-,root,root,-)
@@ -86,36 +113,59 @@
 %config(noreplace) %{_sysconfdir}/ocamlfind.conf
 %{_bindir}/*
 %{_mandir}/man?/*
-%{_libdir}/ocaml/bigarray
-%{_libdir}/ocaml/camlp4
-%{_libdir}/ocaml/compiler-libs
-%{_libdir}/ocaml/dynlink
-%{_libdir}/ocaml/findlib
-%{_libdir}/ocaml/graphics
-%{_libdir}/ocaml/num
-%{_libdir}/ocaml/ocamlbuild
-%{_libdir}/ocaml/stdlib
-%{_libdir}/ocaml/str
-%{_libdir}/ocaml/threads
+#
+%dir %{_libdir}/ocaml
+%dir %{_libdir}/ocaml/bigarray

commit ocaml-findlib for openSUSE:Factory

2014-10-31 Thread h_root
Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2014-10-31 18:27:30

Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-findlib.new (New)


Package is ocaml-findlib

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-findlib/ocaml-findlib.changes  
2013-08-02 15:26:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new/ocaml-findlib.changes 
2014-10-31 20:19:52.0 +0100
@@ -1,0 +2,52 @@
+Thu Oct 23 17:01:25 UTC 2014 - oher...@suse.de
+
+-  Update to upstream version 1.5.5
+   New ppxopt META variables.
+   Support for OCAMLFIND_TOOLCHAIN environment variable.
+
+---
+Thu Oct 23 12:40:36 UTC 2014 - oher...@suse.de
+
+- BuildRequire ocaml-rpm-macros
+
+---
+Fri Oct 10 17:07:25 UTC 2014 - oher...@suse.de
+
+- BuildRequire at least ocaml 4.02
+
+---
+Wed Oct  8 14:18:37 CEST 2014 - oher...@suse.de
+
+-  Update to upstream version 1.5.3
+   The installation of bytes respects now $prefix and the
+   configured destination.
+   New option -pp for ocamlfind query, to get preprocessor
+   packages.  Updated the compatibility Bytes module to support
+   extend, init, mapi,  blit_string.
+-  1.5.2: support for the query formats %+a and %+A.
+   Fix: the ppx property is now also path-expanded when
+   interpreted in a toploop.
+   Fix: implicit ppx is not path-expanded anymore.
+   Fix: Build bytes.cmxs only if natdynlink is enabled.
+-  1.5.1: includes a file that was missing in 1.5
+-  1.5: Including the bytes package that is either a compat
+   package for ocaml  4.02 or a fake package for ocaml = 4.02.
+   The package aims at helping to support the transition to the new
+   bytes type for mutable strings.
+   Also installing findlib.cmxs if OCaml supports it.
+   Allowing to disable camlp4 (in prep for OCaml-4.02).
+   The ppx package property can be specified for constructing
+   ppx-type preprocessor.
+-  1.4.1:ocamldoc: The order of -ppopt arguments was changed by
+   ocamlfind, which is not correct.
+-  1.4: Fixed performance bug when many arguments need to be processed.
+   Auto-configuring ocamldoc.opt if it is found.
+   New config switch -no-custom to prevent that ocamlfind is
+   linked in custom-runtime mode (bytecode only).
+   The library dbm is no longer part of OCaml, and now optional in
+   findlib 
+   Support for ocamloptp.
+   New function Topfind.log for controlling the verbosity.
+   Rewritten Fl_metascanner without camlp4
+
+---

Old:

  findlib-1.3.3.tar.xz

New:

  findlib-1.5.5.tar.xz



Other differences:
--
++ ocaml-findlib.spec ++
--- /var/tmp/diff_new_pack.PSMOFB/_old  2014-10-31 20:19:52.0 +0100
+++ /var/tmp/diff_new_pack.PSMOFB/_new  2014-10-31 20:19:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-findlib
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2010-2011 Andrew Psaltis ampsaltis at gmail dot com
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,17 +17,10 @@
 #
 
 
-%define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
-%if !%opt
-# get rid of /usr/lib/rpm/find-debuginfo.sh
-# strip kills the bytecode part of ELF binaries
-# see also NO_BRP_STRIP_DEBUG in install section
-%undefine _build_create_debug
-%endif
-
-Name:   ocaml-findlib
-Version:1.3.3
+Version:1.5.5
 Release:0
+%{ocaml_preserve_bytecode}
+Name:   ocaml-findlib
 Summary:Objective CAML package manager and build helper
 License:MIT
 Group:  Development/Libraries/Other
@@ -42,9 +35,10 @@
 BuildRequires:  gawk
 BuildRequires:  m4
 BuildRequires:  ncurses-devel
-BuildRequires:  ocaml
-BuildRequires:  ocaml-camlp4-devel
+BuildRequires:  ocaml = 4.02.0
+BuildRequires:  ocaml-camlp4-devel = 4.02.0
 BuildRequires:  ocaml-ocamldoc
+BuildRequires:  ocaml-rpm-macros = 4.02.1
 
 %description
 Findlib is a library manager for Objective Caml. It provides a
@@ -78,17 +72,12 @@
   -mandir %{_mandir} \
   -with-toolbox
 make all
-%if %opt
+%if %{ocaml_native_compiler}
 make opt
 %endif
 rm doc/guide-html/TIMESTAMP
 
 %install
-%if !%opt
-# get rid of /usr/lib/rpm/brp-strip-debug 
-# strip kills the bytecode part of ELF binaries
-export NO_BRP_STRIP_DEBUG=true
-%endif
 make install DESTDIR=$RPM_BUILD_ROOT
 
 %files
@@ -98,20 +87,19 @@
 %{_bindir}/*