Hello community, here is the log from the commit of package ocaml-labltk for openSUSE:Factory checked in at 2019-10-18 14:37:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-labltk (Old) and /work/SRC/openSUSE:Factory/.ocaml-labltk.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ocaml-labltk" Fri Oct 18 14:37:20 2019 rev:4 rq:741004 version:8.06.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-labltk/ocaml-labltk.changes 2017-08-18 15:03:49.543041122 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-labltk.new.2352/ocaml-labltk.changes 2019-10-18 14:37:21.507626067 +0200 @@ -1,0 +2,6 @@ +Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de + +- Require a specifc ocaml version +- Use _service file and ocaml-rpm-macros + +------------------------------------------------------------------- Old: ---- labltk-8.06.3.tar.xz New: ---- _service ocaml-labltk-8.06.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-labltk.spec ++++++ --- /var/tmp/diff_new_pack.XTjmKC/_old 2019-10-18 14:37:22.243624151 +0200 +++ /var/tmp/diff_new_pack.XTjmKC/_new 2019-10-18 14:37:22.243624151 +0200 @@ -23,14 +23,13 @@ Summary: Tcl/Tk framework for ocaml License: SUSE-LGPL-2.0-with-linking-exception Group: Development/Languages/OCaml -Url: https://forge.ocamlcore.org/projects/labltk/ -Source: labltk-%{version}.tar.xz -BuildRequires: ocaml +Url: https://github.com/garrigue/labltk +Source: %{name}-%{version}.tar.xz +BuildRequires: ocaml = 4.05.0 BuildRequires: ocaml-findlib -BuildRequires: ocaml-rpm-macros >= 4.05.0 +BuildRequires: ocaml-rpm-macros >= 20191009 BuildRequires: tcl-devel BuildRequires: tk-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LablTk is an interface to the Tcl/Tk GUI framework. It allows to @@ -53,7 +52,7 @@ This package contains the development files. It includes the ocaml browser for code editing and library browsing. %prep -%setup -q -n labltk-%{version} +%autosetup -p1 %build ./configure --use-findlib @@ -82,46 +81,18 @@ find examples* -type f -exec chmod -v 644 {} \; cat $ld_conf # -mkdir -vp %{buildroot}/etc/ld.so.conf.d/ -tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ -%{_libdir}/ocaml/stublibs -_EOF_ -# +%ocaml_create_file_list %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -%defattr(-,root,root,-) -%{_bindir}/labltk -/etc/ld.so.conf.d/*.conf -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%endif -%{_libdir}/ocaml/*/*.so -%{_libdir}/ocaml/*/*.so.owner +%files -f %{name}.files +%{_bindir}/* -%files devel -%defattr(-,root,root,-) -%doc examples_labltk -%doc examples_camltk -%{_bindir}/ocamlbrowser +%files devel -f %{name}.files.devel %{_libdir}/ocaml/*/labltktop %{_libdir}/ocaml/*/pp %{_libdir}/ocaml/*/tkcompiler -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%{_libdir}/ocaml/*/*.a -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmo -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/META %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/garrigue/labltk.git</param> <param name="scm">git</param> <param name="versionformat">8.06.3</param> <!-- ocaml-4.05 --> <param name="revision">45da3591cbdcae1f034f4623909a98dce68aa841</param> <param name="filename">ocaml-labltk</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>