forked from pool/screen
Accepting request 52122 from Base:System
Accepted submit request 52122 from user elvigia OBS-URL: https://build.opensuse.org/request/show/52122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screen?expand=0&rev=15
This commit is contained in:
commit
ee07afe2e4
@ -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
|
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
|
Release: 7
|
||||||
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
|
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Source1: screen.conf
|
||||||
Patch: screen-4.0.2.dif
|
Patch: screen-4.0.2.dif
|
||||||
Patch1: screen-__P.diff
|
Patch1: screen-__P.diff
|
||||||
Patch2: screen-gcc4.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
|
mv $RPM_BUILD_ROOT/usr/bin/screen-%version $RPM_BUILD_ROOT/usr/bin/screen
|
||||||
chmod 755 $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
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/tmpfiles.d
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/run/screens
|
mkdir -p $RPM_BUILD_ROOT/var/run/screens
|
||||||
chmod 755 $RPM_BUILD_ROOT/var/run/screens
|
chmod 755 $RPM_BUILD_ROOT/var/run/screens
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/run/uscreens
|
mkdir -p $RPM_BUILD_ROOT/var/run/uscreens
|
||||||
chmod 1777 $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 screenrc $RPM_BUILD_ROOT/etc/screenrc
|
||||||
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/tmpfiles.d
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config /etc/screenrc
|
%config /etc/screenrc
|
||||||
%attr(555,root,root) /usr/bin/screen
|
%attr(555,root,root) /usr/bin/screen
|
||||||
%dir /usr/share/screen
|
%dir /usr/share/screen
|
||||||
|
%dir /etc/tmpfiles.d
|
||||||
|
/etc/tmpfiles.d/screen.conf
|
||||||
/usr/share/screen/utf8encodings
|
/usr/share/screen/utf8encodings
|
||||||
# Created via aaa_base on system boot
|
# Created via aaa_base on system boot
|
||||||
%ghost %dir /var/run/screens
|
%ghost %dir /var/run/screens
|
||||||
|
Loading…
Reference in New Issue
Block a user