From 909ca180c53e0b914e17527853b157a5532b0686 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 12 Dec 2012 21:32:04 +0100 Subject: [PATCH] - rel 3; fix pipes checking --- screen.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/screen.spec b/screen.spec index 06e69eb..cd4c505 100644 --- a/screen.spec +++ b/screen.spec @@ -16,7 +16,7 @@ Summary(uk.UTF-8): Менеджер екрану, що підтримує кіл Name: screen # 4.0 stable is on SCREEN_4_0 brach Version: 4.1.0 -Release: 2 +Release: 3 License: GPL v3+ Group: Applications/Terminal Source0: http://git.savannah.gnu.org/cgit/screen.git/snapshot/%{name}-cbaa666d4f21988164068a38ac915f8b4f3c4da3.tar.gz @@ -161,7 +161,12 @@ CFLAGS="%{rpmcflags} -DMAXWIN=256" --with-pty-group=5 \ --disable-socket-dir -%{?with_fifo:grep -q "define.*NAMEDPIPE.*1" config.h || echo "bcond with fifo but fifos not enabled!" && exit 1} +%if %{with fifo} +if ! grep -q "define.*NAMEDPIPE.*1" config.h; then + echo "bcond with fifo but fifos not enabled!" + exit 1 +fi +%endif %{__make} -j1 -- 2.44.0