From 7dd8068acf281e4d0416c3e8666f4bf90e810cecf24908952dc4b11cefe67175 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 10 Nov 2015 10:33:28 +0000 Subject: [PATCH] - Add hardcoded Provides for pre 12.1 repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-fileutils?expand=0&rev=6 --- ocaml-fileutils.changes | 5 +++++ ocaml-fileutils.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ocaml-fileutils.changes b/ocaml-fileutils.changes index 7474c05..4f3a939 100644 --- a/ocaml-fileutils.changes +++ b/ocaml-fileutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de + +- Add hardcoded Provides for pre 12.1 repos + ------------------------------------------------------------------- Wed Sep 16 08:34:42 UTC 2015 - ohering@suse.de diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec index 2275b03..c5d15a0 100644 --- a/ocaml-fileutils.spec +++ b/ocaml-fileutils.spec @@ -30,6 +30,12 @@ BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRequires: ocaml-findlib-devel >= 1.3.3-3 BuildRequires: ocaml-ocamldoc BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-fileutils +# 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-fileutils %description This library is intended to provide a basic interface to the most