- Add hardcoded Provides for pre 12.1 repos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=35
This commit is contained in:
Olaf Hering 2015-11-10 10:33:35 +00:00 committed by Git OBS Bridge
parent e148e654c3
commit e0df00ce19
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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 <ampsaltis at gmail dot com>
#
# 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}