From 373a7ae9e32ce48f0130f5ac75d49a08dd368b9f6e311f044ab54fa4399cbd2b Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 10 Nov 2015 10:34:32 +0000 Subject: [PATCH] - Add hardcoded Provides for pre 12.1 repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=4 --- ocaml-ounit.changes | 5 +++++ ocaml-ounit.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ocaml-ounit.changes b/ocaml-ounit.changes index ee1bb92..b0545ef 100644 --- a/ocaml-ounit.changes +++ b/ocaml-ounit.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 Jan 21 20:35:32 UTC 2015 - mlatimer@suse.com diff --git a/ocaml-ounit.spec b/ocaml-ounit.spec index 1eac2e1..449002a 100644 --- a/ocaml-ounit.spec +++ b/ocaml-ounit.spec @@ -31,6 +31,12 @@ BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-ounit +# 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-ounit %description OUnit is a unit test framework for OCaml. It allows one to easily