Accepting request 92883 from Base:System

- fix build with latest ncurses (split tinfo)

- mkdir /var/run/*screen both immediatly and via systemd.

OBS-URL: https://build.opensuse.org/request/show/92883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screen?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2011-11-22 16:49:32 +00:00 committed by Git OBS Bridge
commit 2a1b5c6de5
3 changed files with 12175 additions and 20 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 21 14:55:17 UTC 2011 - coolo@suse.com
- fix build with latest ncurses (split tinfo)
-------------------------------------------------------------------
Fri Nov 18 13:09:57 UTC 2011 - jw@suse.com
- mkdir /var/run/*screen both immediatly and via systemd.
-------------------------------------------------------------------
Mon Sep 19 14:00:10 UTC 2011 - trenn@suse.de

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://www.gnu.org/software/screen/
@ -29,7 +28,6 @@ BuildRequires: utempter
License: GPLv2+
Group: System/Console
PreReq: %install_info_prereq
AutoReqProv: on
Version: 4.0.3
Release: 19
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
@ -65,7 +63,7 @@ Documentation: man page
%patch8 -p1
%build
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" %configure --prefix=/usr --infodir=%{_infodir} \
--mandir=%{_mandir} \
--with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
--with-sys-screenrc=/etc/screenrc \
@ -99,7 +97,7 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
%dir /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/screen.conf
/usr/share/screen/utf8encodings
# Created via aaa_base on system boot
# Created via aaa_base or systemd on system boot
%ghost %dir /var/run/screens
%ghost %dir /var/run/uscreens
%doc %{_infodir}/screen.info*.gz
@ -108,6 +106,11 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
# Create our dirs immediatly, after a manual package install.
# After a reboot systemd/aaa_base will take care.
test -d /var/run/screens || mkdir -m 755 /var/run/screens
test -d /var/run/uscreens || mkdir -m 1777 /var/run/uscreens
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz