Accepting request 75576 from Base:System
Use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d. (forwarded request 75493 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/75576 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screen?expand=0&rev=22
This commit is contained in:
commit
00d5ee9def
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 6 08:13:07 UTC 2011 - aj@suse.de
|
||||
|
||||
- Use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 15:14:38 UTC 2011 - jw@novell.com
|
||||
|
||||
|
@ -80,21 +80,22 @@ 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/usr/lib
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/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
|
||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/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
|
||||
%dir /usr/lib/tmpfiles.d
|
||||
/usr/lib/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