]> git.pld-linux.org Git - packages/screen.git/commitdiff
- rel 3; fix pipes checking auto/th/screen-4.1.0-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Dec 2012 20:32:04 +0000 (21:32 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Dec 2012 20:32:04 +0000 (21:32 +0100)
screen.spec

index 06e69eba86ac6eb003c3e362eb971141600f4afe..cd4c5059421223e4af42c113e2bf5a6a4a4331c9 100644 (file)
@@ -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
 
This page took 0.067776 seconds and 4 git commands to generate.