- use __true_false macro
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 21 Oct 2017 09:53:57 +0000 (11:53 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 21 Oct 2017 09:53:57 +0000 (11:53 +0200)
libinput.spec

index 4983e23..11d0204 100644 (file)
@@ -35,7 +35,7 @@ BuildRequires:        libwacom-devel >= 0.20
 BuildRequires: meson
 BuildRequires: mtdev-devel >= 1.1.0
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.726
+BuildRequires: rpmbuild(macros) >= 1.728
 BuildRequires: udev-devel
 Requires:      libevdev >= 1.3
 Requires:      libwacom >= 0.20
@@ -119,8 +119,8 @@ Dokumentacja API biblioteki libinput.
 
 %build
 %meson build \
-       -Ddebug-gui=%{?with_gui:true}%{!?with_gui:false} \
-       -Ddocumentation=%{?with_doc:true}%{!?with_doc:false} \
+       -Ddebug-gui=%{__true_false gui} \
+       -Ddocumentation=%{__true_false doc} \
        -Dudev-dir=/lib/udev
 %meson_build -C build
 
This page took 0.665609 seconds and 4 git commands to generate.