]> git.pld-linux.org Git - packages/ocaml-lablgtk2.git/commitdiff
- adjust exists_if tags in META on archs without native code; release 5 auto/th/ocaml-lablgtk2-2.18.11-5
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 21 Dec 2021 16:40:54 +0000 (17:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 21 Dec 2021 16:41:15 +0000 (17:41 +0100)
ocaml-lablgtk2.spec

index e04bdb607c38eeb6b0472fd57e4990f4aa8a0e79..2477d972011b89d9809581ab819ae08d6d6c0a58 100644 (file)
@@ -15,7 +15,7 @@ Summary:      GTK+ binding for OCaml
 Summary(pl.UTF-8):     Wiązania GTK+ dla OCamla
 Name:          ocaml-lablgtk2
 Version:       2.18.11
-Release:       4
+Release:       5
 License:       LGPL with linking exceptions
 Group:         Libraries
 #Source0Download: https://github.com/garrigue/lablgtk/releases
@@ -35,6 +35,7 @@ BuildRequires:        libgnomeui-devel
 BuildRequires: librsvg-devel >= 2.0
 BuildRequires: ocaml-camlp4 >= %{ocaml_ver}
 %{?with_opengl:BuildRequires:  ocaml-lablgl-devel >= 1.04}
+BuildRequires: sed >= 4.0
 %requires_eq   ocaml-runtime
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -299,6 +300,10 @@ lablgtk.
 %prep
 %setup -q -n lablgtk-%{version}
 
+%if %{without ocaml_opt}
+%{__sed} -i -e '/exists_if/ s/,[^,]*cmx[as]\?//g' META
+%endif
+
 %build
 %configure \
        CC="%{__cc} %{rpmcflags} -fPIC" \
This page took 0.082875 seconds and 4 git commands to generate.