enable __ocaml_requires_opts/__ocaml_provides_opts only in

newer openSuSE releases to fix build with sles11sp2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=3
This commit is contained in:
Olaf Hering 2012-08-22 09:09:45 +00:00 committed by Git OBS Bridge
parent eab35aebf4
commit e1101f5def

View File

@ -53,8 +53,10 @@ BuildRequires: m4, ncurses-devel
BuildRequires: gawk
%if 0%{?suse_version} <= 1140
%if 0%{?suse_version} > 1110
%define _use_internal_dependency_generator 1
%endif
%endif
%global __ocaml_requires_opts -i Asttypes -i Parsetree
%description