Conditional Requires ocaml-camlp4-devel

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=75
This commit is contained in:
Olaf Hering 2019-09-24 06:17:36 +00:00 committed by Git OBS Bridge
parent 810c23b247
commit 46b9f471b4

View File

@ -57,6 +57,7 @@ Group: Development/Languages/OCaml
Requires: %{name} = %{version}
Provides: %{name}-camlp4 = %{version}-%{release}
Obsoletes: %{name}-camlp4 < %{version}-%{release}
%{expand:%(if test -x "$(type -P camlp4)" ; then echo 'Requires: ocaml-camlp4-devel' ; fi)}
%description devel
The ocaml-findlib-devel package contains libraries and signature files