From 2849c2372ec846b08281ce4017da160b95005042221283adc37d1a29bf816f64 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 10 Nov 2015 10:34:11 +0000 Subject: [PATCH] - Add hardcoded Provides for pre 12.1 repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=3 --- ocaml-libvirt.changes | 5 +++++ ocaml-libvirt.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ocaml-libvirt.changes b/ocaml-libvirt.changes index a16dcab..8549b60 100644 --- a/ocaml-libvirt.changes +++ b/ocaml-libvirt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de + +- Add hardcoded Provides for pre 12.1 repos + ------------------------------------------------------------------- Mon Dec 8 20:48:52 UTC 2014 - mlatimer@suse.com diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 6067a7e..6209298 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -37,6 +37,12 @@ BuildRequires: ocaml-ocamldoc BuildRequires: perl Requires: libvirt-client >= 0.9.10-3 BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-libvirt +# 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-libvirt %description OCaml binding for libvirt.