From 4723c4b398d9897685d40fbbfae0611ab7743f42d72610da92f17574c7a32d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Thu, 4 Nov 2010 00:54:11 +0000 Subject: [PATCH] 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 --- screen.changes | 5 +++++ screen.conf | 4 ++++ screen.spec | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 screen.conf diff --git a/screen.changes b/screen.changes index 5c82d94..dfa60bc 100644 --- a/screen.changes +++ b/screen.changes @@ -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 diff --git a/screen.conf b/screen.conf new file mode 100644 index 0000000..92c5a1c --- /dev/null +++ b/screen.conf @@ -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 - + diff --git a/screen.spec b/screen.spec index 8fc7cef..6c6bf93 100644 --- a/screen.spec +++ b/screen.spec @@ -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