Hello community, here is the log from the commit of package ocaml-lablgl for openSUSE:Factory checked in at 2016-07-15 12:46:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-lablgl (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-lablgl" Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-lablgl/ocaml-lablgl.changes 2014-11-13 09:17:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgl.new/ocaml-lablgl.changes 2016-07-15 12:46:33.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Nov 10 10:18:47 UTC 2015 - oher...@suse.de + +- Add hardcoded Provides for pre 12.1 repos + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-lablgl.spec ++++++ --- /var/tmp/diff_new_pack.CiSgcb/_old 2016-07-15 12:46:35.000000000 +0200 +++ /var/tmp/diff_new_pack.CiSgcb/_new 2016-07-15 12:46:35.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Andrew Psaltis <ampsaltis at gmail.com> # # All modifications and additions to the file contributed by third parties @@ -29,6 +29,13 @@ Url: https://forge.ocamlcore.org/projects/lablgl/ Source0: lablgl-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-lablgl +# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires +%if 0%{?suse_version} < 1210 +Requires: ocaml-labltk +Requires: ocaml-runtime +%endif +# ocaml autodep end for pkg: ocaml-lablgl BuildRequires: Mesa-devel BuildRequires: freeglut-devel @@ -134,16 +141,25 @@ fi; \ done popd +# +mkdir -vp %{buildroot}/etc/ld.so.conf.d/ +tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ +%{_libdir}/ocaml/stublibs +_EOF_ +# + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README -%dir %{_libdir}/ocaml/lablGL -%{_libdir}/ocaml/lablGL/*.cma -%{_libdir}/ocaml/lablGL/*.cmi -%{_libdir}/ocaml/stublibs/*.so +/etc/ld.so.conf.d/*.conf %{_bindir}/lablgl %{_bindir}/lablglut +%dir %{_libdir}/ocaml/lablGL +%{_libdir}/ocaml/stublibs/*.so %files devel %defattr(-,root,root,-) @@ -154,6 +170,8 @@ %{_libdir}/ocaml/lablGL/*.cmxa %{_libdir}/ocaml/lablGL/*.cmx %endif +%{_libdir}/ocaml/lablGL/*.cma +%{_libdir}/ocaml/lablGL/*.cmi %{_libdir}/ocaml/lablGL/*.mli %{_libdir}/ocaml/lablGL/build.ml