Accepting request 1110895 from GNOME:Factory

- Use RPM ternary operations to specify true/false arguments based
  on build conditions (%[%{with FOO} ? "true" : "false"]) (forwarded request 1110637 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1110895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk3?expand=0&rev=188
This commit is contained in:
Dominique Leuenberger 2023-09-20 11:21:30 +00:00 committed by Git OBS Bridge
commit b43ff5f3f5
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 12 14:27:25 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Use RPM ternary operations to specify true/false arguments based
on build conditions (%[%{with FOO} ? "true" : "false"])
-------------------------------------------------------------------
Mon Aug 14 03:34:22 UTC 2023 - Yifan Jiang <yfjiang@suse.com>

View File

@ -399,11 +399,11 @@ cp -a %{SOURCE1} .
%build
%meson \
-D broadway_backend=%{?with_broadway:true}%{!?with_broadway:false} \
-D cloudproviders=%{?with_clouds:true}%{!?with_clouds:false} \
-D broadway_backend=%[%{with broadway} ? "true" : "false"] \
-D cloudproviders=%[%{with clouds} ? "true" : "false"] \
-D gtk_doc=true \
-D man=true \
-D tests=%{?with_tests:true}%{!?with_tests:false} \
-D tests=%[%{with tests} ? "true" : "false"] \
-D builtin_immodules=wayland,waylandgtk \
;
%meson_build