- Add hardcoded Provides for pre 12.1 repos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=12
This commit is contained in:
Olaf Hering 2016-05-26 10:45:17 +00:00 committed by Git OBS Bridge
parent 8668797e48
commit 44d348359d

View File

@ -47,6 +47,12 @@ framework for Haskell. It is similar to JUnit, and other xUnit testing
frameworks.
%package devel
# ocaml autodep start for pkg: ocaml-ounit-devel
# 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-ounit-devel
Summary: Development files for %{name}
Group: Development/Libraries/Other
Requires: %{name} = %{version}