Name: screen
# 4.0 stable is on SCREEN_4_0 brach
Version: 4.1.0
-Release: 2
+Release: 4
License: GPL v3+
Group: Applications/Terminal
-Source0: http://git.savannah.gnu.org/cgit/screen.git/snapshot/%{name}-cbaa666d4f21988164068a38ac915f8b4f3c4da3.tar.gz
-# Source0-md5: ce736c486b6cd4d7167ae6dae5e3103c
+Source0: http://git.savannah.gnu.org/cgit/screen.git/snapshot/%{name}-c2cd05962664c80f8ae063d6bf7a21084e0c2f37.tar.gz
+# Source0-md5: 61195697c98359ae3a86c8e1ea5f538d
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 236166e774cee788cf594b05dd1dd70d
Source2: %{name}.pamd
BuildRequires: texinfo
BuildRequires: utempter-devel
Requires: pam >= 0.77.3
-Requires: systemd-units >= 38
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
--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