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:
commit
2a1b5c6de5
12174
screen-4.0.2.dif
12174
screen-4.0.2.dif
File diff suppressed because it is too large
Load Diff
@ -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
|
Mon Sep 19 14:00:10 UTC 2011 - trenn@suse.de
|
||||||
|
|
||||||
|
11
screen.spec
11
screen.spec
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
Url: http://www.gnu.org/software/screen/
|
Url: http://www.gnu.org/software/screen/
|
||||||
|
|
||||||
@ -29,7 +28,6 @@ BuildRequires: utempter
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Console
|
Group: System/Console
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
AutoReqProv: on
|
|
||||||
Version: 4.0.3
|
Version: 4.0.3
|
||||||
Release: 19
|
Release: 19
|
||||||
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
|
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
|
||||||
@ -65,7 +63,7 @@ Documentation: man page
|
|||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%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} \
|
--mandir=%{_mandir} \
|
||||||
--with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
|
--with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
|
||||||
--with-sys-screenrc=/etc/screenrc \
|
--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
|
%dir /usr/lib/tmpfiles.d
|
||||||
/usr/lib/tmpfiles.d/screen.conf
|
/usr/lib/tmpfiles.d/screen.conf
|
||||||
/usr/share/screen/utf8encodings
|
/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/screens
|
||||||
%ghost %dir /var/run/uscreens
|
%ghost %dir /var/run/uscreens
|
||||||
%doc %{_infodir}/screen.info*.gz
|
%doc %{_infodir}/screen.info*.gz
|
||||||
@ -108,6 +106,11 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
|
|||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%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
|
%postun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user