forked from pool/screen
Accepting request 52080 from home:a_jaeger:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/52080 OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=14
This commit is contained in:
parent
7321e55024
commit
4723c4b398
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 14:54:47 UTC 2010 - aj@suse.de
|
||||
|
||||
- Add /etc/tmpfiles.d/screen.conf for /var/run on tmpfs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 9 18:43:01 UTC 2010 - aj@suse.de
|
||||
|
||||
|
4
screen.conf
Normal file
4
screen.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Screen needs some files in /var/run:
|
||||
d /var/run/screens 0755 root root -
|
||||
d /var/run/uscreens 1777 root root -
|
||||
|
@ -34,6 +34,7 @@ Version: 4.0.3
|
||||
Release: 7
|
||||
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: screen.conf
|
||||
Patch: screen-4.0.2.dif
|
||||
Patch1: screen-__P.diff
|
||||
Patch2: screen-gcc4.diff
|
||||
@ -74,17 +75,21 @@ rm -f $RPM_BUILD_ROOT/usr/bin/screen
|
||||
mv $RPM_BUILD_ROOT/usr/bin/screen-%version $RPM_BUILD_ROOT/usr/bin/screen
|
||||
chmod 755 $RPM_BUILD_ROOT/usr/bin/screen
|
||||
mkdir -p $RPM_BUILD_ROOT/etc
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/tmpfiles.d
|
||||
mkdir -p $RPM_BUILD_ROOT/var/run/screens
|
||||
chmod 755 $RPM_BUILD_ROOT/var/run/screens
|
||||
mkdir -p $RPM_BUILD_ROOT/var/run/uscreens
|
||||
chmod 1777 $RPM_BUILD_ROOT/var/run/uscreens
|
||||
install -m 644 screenrc $RPM_BUILD_ROOT/etc/screenrc
|
||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/tmpfiles.d
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config /etc/screenrc
|
||||
%attr(555,root,root) /usr/bin/screen
|
||||
%dir /usr/share/screen
|
||||
%dir /etc/tmpfiles.d
|
||||
/etc/tmpfiles.d/screen.conf
|
||||
/usr/share/screen/utf8encodings
|
||||
# Created via aaa_base on system boot
|
||||
%ghost %dir /var/run/screens
|
||||
|
Loading…
Reference in New Issue
Block a user