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