- Add hardcoded Provides for pre 12.1 repos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=19
This commit is contained in:
Olaf Hering 2015-11-10 10:34:38 +00:00 committed by Git OBS Bridge
parent 0e2ea2f8e7
commit 79141b2fd9
2 changed files with 11 additions and 0 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
-------------------------------------------------------------------
Mon Feb 16 16:33:25 UTC 2015 - ohering@suse.de

View File

@ -29,6 +29,12 @@ Url: http://mmottl.github.io/pcre-ocaml/
# https://github.com/mmottl/pcre-ocaml/archive/v%{version}.tar.gz
Source0: pcre-ocaml-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-pcre
# 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-pcre
BuildRequires: gawk
BuildRequires: ocaml >= 3.10.2