- Add hardcoded Provides for pre 12.1 repos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=4
This commit is contained in:
Olaf Hering 2015-11-10 10:31:49 +00:00 committed by Git OBS Bridge
parent 5475a542e7
commit 0c60b49ab6
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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 15 14:06:34 UTC 2015 - mlatimer@suse.com Tue Sep 15 14:06:34 UTC 2015 - mlatimer@suse.com

View File

@ -37,6 +37,12 @@ BuildRequires: ocaml-rpm-macros >= 4.02.1
BuildRequires: ocaml-findlib-devel >= 1.3.3-3 BuildRequires: ocaml-findlib-devel >= 1.3.3-3
BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-ocamldoc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-calendar
# 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-calendar
%description %description
Objective Caml library for managing dates and times. Objective Caml library for managing dates and times.