-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
I have identified a bug on the meson macros
Line 32 in db9db7b
%{?__meson_verbose:--verbose} \ |
i.e even setting __meson_verbose to 0 does not disable verbose
The issue comes from %{?__meson_verbose:--verbose}
- where %{?__meson_verbose}
does not check on any value, but rather on 'is defined'
A possible solution would be to switch meson_build and meson_install to use ternary operations, like:
%meson_build \
%{shrink:%{__meson} compile \
-C %{_vpath_builddir} \
-j %{_smp_build_ncpus} \
%[ 0%{?__meson_verbose} ? "--verbose" : "" ]\
%{nil}}
%meson_install \
%{shrink:DESTDIR=%{buildroot} %{__meson} install \
-C %{_vpath_builddir} \
--no-rebuild \
%[ ! 0%{?__meson_verbose} ? "--quiet" : "" ] \
%{nil}}
Drawback: this is only supported from RPM 4.15 on
Metadata
Metadata
Assignees
Labels
No labels