- 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
This commit is contained in:
Olaf Hering 2016-05-25 06:53:21 +00:00 committed by Git OBS Bridge
parent d75e48cd62
commit e761a159cd
3 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:5c440d7cfd57fba4124b853d84ba950e391684d764ff4cd31dcc766cd1c6756e oid sha256:ca5564f6040eb4077ce048fa7ffde6f3d6aae14ed9220d231d49c62afb430a50
size 62372 size 62392

View File

@ -32,6 +32,12 @@ BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-findlib BuildRequires: ocaml-findlib
BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRequires: ocaml-rpm-macros >= 4.02.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 %description
If you want to use your many cores to accelerate an operation If you want to use your many cores to accelerate an operation

View File

@ -32,6 +32,12 @@ BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-findlib BuildRequires: ocaml-findlib
BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRequires: ocaml-rpm-macros >= 4.02.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 %description
If you want to use your many cores to accelerate an operation If you want to use your many cores to accelerate an operation