From 0c60b49ab61a971d7acb0dfb08b697bc80132cfed9553c093ecb08d7733c5aba Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 10 Nov 2015 10:31:49 +0000 Subject: [PATCH] - Add hardcoded Provides for pre 12.1 repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=4 --- ocaml-calendar.changes | 5 +++++ ocaml-calendar.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ocaml-calendar.changes b/ocaml-calendar.changes index 29cb6e6..2237ddf 100644 --- a/ocaml-calendar.changes +++ b/ocaml-calendar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de + +- Add hardcoded Provides for pre 12.1 repos + ------------------------------------------------------------------- Tue Sep 15 14:06:34 UTC 2015 - mlatimer@suse.com diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec index ae79b09..f5c7d71 100644 --- a/ocaml-calendar.spec +++ b/ocaml-calendar.spec @@ -37,6 +37,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-calendar +# 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-calendar %description Objective Caml library for managing dates and times.