diff --git a/ocaml-findlib.changes b/ocaml-findlib.changes index 8793029..cd3b9a6 100644 --- a/ocaml-findlib.changes +++ b/ocaml-findlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de + +- Add hardcoded Provides for pre 12.1 repos + ------------------------------------------------------------------- Thu Oct 23 17:01:25 UTC 2014 - ohering@suse.de diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec index 559246f..536527e 100644 --- a/ocaml-findlib.spec +++ b/ocaml-findlib.spec @@ -1,7 +1,7 @@ # # spec file for package ocaml-findlib # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010-2011 Andrew Psaltis # # All modifications and additions to the file contributed by third parties @@ -29,6 +29,12 @@ Url: http://projects.camlcity.org/projects/findlib.html Source0: findlib-%{version}.tar.xz Patch0: findlib-1.3.3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-findlib +# 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-findlib Provides: ocamlfind = %{version}