[packages/libinput] - use __true_false macro
arekm
arekm at pld-linux.org
Sat Oct 21 11:54:04 CEST 2017
commit 2de9132648952c562347c3aef6c445afcfc9959f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Oct 21 11:53:57 2017 +0200
- use __true_false macro
libinput.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libinput.spec b/libinput.spec
index 4983e23..11d0204 100644
--- a/libinput.spec
+++ b/libinput.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libinput.git/commitdiff/2de9132648952c562347c3aef6c445afcfc9959f
More information about the pld-cvs-commit
mailing list