Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2016-07-15 12:46:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-lablgtk2" Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2015-07-08 06:59:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new/ocaml-lablgtk2.changes 2016-07-15 12:46:37.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-lablgtk2.spec ++++++ --- /var/tmp/diff_new_pack.LUgHUu/_old 2016-07-15 12:46:39.000000000 +0200 +++ /var/tmp/diff_new_pack.LUgHUu/_new 2016-07-15 12:46:39.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-lablgtk2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,6 +46,12 @@ Obsoletes: ocaml-lablgtk < %{version} Url: http://lablgtk.forge.ocamlcore.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-lablgtk2 +# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires +%if 0%{?suse_version} < 1210 +Requires: ocaml-runtime +%endif +# ocaml autodep end for pkg: ocaml-lablgtk2 Summary: An Objective Caml Interface to gtk2+ License: LGPL-2.1+ Group: Development/Libraries/Other @@ -68,6 +74,12 @@ Koji Kagawa <kag...@eng.kagawa-u.ac.jp> %package devel +# ocaml autodep start for pkg: ocaml-lablgtk2-devel +# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires +%if 0%{?suse_version} < 1210 +Requires: ocaml-runtime +%endif +# ocaml autodep end for pkg: ocaml-lablgtk2-devel Summary: An Objective Caml interface to gtk2+ Group: Development/Libraries/Other Provides: lablgtk2-devel = %{version} @@ -124,33 +136,46 @@ %makeinstall # Remove ld.conf (part of main OCaml dist). rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf +# +mkdir -vp %{buildroot}/etc/ld.so.conf.d/ +tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ +%{_libdir}/ocaml/lablgtk2 +_EOF_ +# + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc CHANGES COPYING README examples +/etc/ld.so.conf.d/*.conf %{_bindir}/* -%dir %{_libdir}/ocaml/lablgtk2 -%{_libdir}/ocaml/lablgtk2/* %if %{ocaml_native_compiler} -%exclude %{_libdir}/ocaml/lablgtk2/*.a -%exclude %{_libdir}/ocaml/lablgtk2/*.cmx -%exclude %{_libdir}/ocaml/lablgtk2/*.cmxa -%endif -%exclude %{_libdir}/ocaml/lablgtk2/*.h -%exclude %{_libdir}/ocaml/lablgtk2/*.ml -%exclude %{_libdir}/ocaml/lablgtk2/*.mli +%{_libdir}/ocaml/*/*.cmxs +%endif +%{_libdir}/ocaml/*/*.so %files devel %defattr(-, root, root) %doc examples -%dir %{_libdir}/ocaml/lablgtk2 +%dir %{_libdir}/ocaml +%dir %{_libdir}/ocaml/* +%{_libdir}/ocaml/*/*.a %if %{ocaml_native_compiler} -%{_libdir}/ocaml/lablgtk2/*.a -%{_libdir}/ocaml/lablgtk2/*.cmx -%{_libdir}/ocaml/lablgtk2/*.cmxa -%endif -%{_libdir}/ocaml/lablgtk2/*.h -%{_libdir}/ocaml/lablgtk2/*.ml -%{_libdir}/ocaml/lablgtk2/*.mli +%{_libdir}/ocaml/*/*.cmx +%{_libdir}/ocaml/*/*.cmxa +%{_libdir}/ocaml/*/*.o +%endif +%{_libdir}/ocaml/*/*.cma +%{_libdir}/ocaml/*/*.cmi +%{_libdir}/ocaml/*/*.cmo +%{_libdir}/ocaml/*/*.h +%{_libdir}/ocaml/*/*.ml +%{_libdir}/ocaml/*/*.mli +%{_libdir}/ocaml/*/META +%{_libdir}/ocaml/*/propcc +%{_libdir}/ocaml/*/varcc %changelog