From e761a159cd8eefe90082e494d2fc973fbfc0e85b54771ea2427a884d4f0c8fd1 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 25 May 2016 06:53:21 +0000 Subject: [PATCH] - Add hardcoded Provides for pre 12.1 repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-parmap?expand=0&rev=3 --- ...:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz | 4 ++-- _service:set_version:ocaml-parmap.spec | 6 ++++++ ocaml-parmap.spec | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz b/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz index 8301b12..5e03e45 100644 --- a/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz +++ b/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5c440d7cfd57fba4124b853d84ba950e391684d764ff4cd31dcc766cd1c6756e -size 62372 +oid sha256:ca5564f6040eb4077ce048fa7ffde6f3d6aae14ed9220d231d49c62afb430a50 +size 62392 diff --git a/_service:set_version:ocaml-parmap.spec b/_service:set_version:ocaml-parmap.spec index 3f10e8e..880c3f1 100644 --- a/_service:set_version:ocaml-parmap.spec +++ b/_service:set_version:ocaml-parmap.spec @@ -32,6 +32,12 @@ BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-findlib BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-parmap +# 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-parmap %description If you want to use your many cores to accelerate an operation diff --git a/ocaml-parmap.spec b/ocaml-parmap.spec index 2534c4e..492016f 100644 --- a/ocaml-parmap.spec +++ b/ocaml-parmap.spec @@ -32,6 +32,12 @@ BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-findlib BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ocaml autodep start for pkg: ocaml-parmap +# 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-parmap %description If you want to use your many cores to accelerate an operation