[screen] comply with http://fedoraproject.org/wiki/Packaging:Tmpfiles.d (#1112016)

Rex Dieter rdieter at fedoraproject.org
Mon Jun 23 12:27:13 UTC 2014


commit 268419043f99ecd5c21d703bfc74a005fed94144
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Jun 23 07:27:13 2014 -0500

    comply with http://fedoraproject.org/wiki/Packaging:Tmpfiles.d (#1112016)

 screen.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/screen.spec b/screen.spec
index 101ae8a..304d626 100644
--- a/screen.spec
+++ b/screen.spec
@@ -4,7 +4,7 @@
 Summary: A screen manager that supports multiple logins on one terminal
 Name: screen
 Version: 4.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.gnu.org/software/screen
@@ -95,8 +95,8 @@ install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/screen
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/screen
 
 # And tell systemd to recreate it on start with tmpfs
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d
-cat <<EOF > $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/screen.conf
+mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
+cat <<EOF > $RPM_BUILD_ROOT%{_tmpfilesdir}/screen.conf
 # screen needs directory in /var/run
 %if %{with multiuser}
 d %{_localstatedir}/run/screen 0755 root root
@@ -133,16 +133,19 @@ fi
 %{_datadir}/screen
 %config(noreplace) %{_sysconfdir}/screenrc
 %config(noreplace) %{_sysconfdir}/pam.d/screen
-%{_sysconfdir}/tmpfiles.d/screen.conf
+%{_tmpfilesdir}/screen.conf
 %if %{with multiuser}
 %attr(4755,root,root) %{_bindir}/screen
-%ghost %attr(755,root,root) %{_localstatedir}/run/screen
+%attr(755,root,root) %{_localstatedir}/run/screen
 %else
 %attr(2755,root,screen) %{_bindir}/screen
-%ghost %attr(775,root,screen) %{_localstatedir}/run/screen
+%attr(775,root,screen) %{_localstatedir}/run/screen
 %endif
 
 %changelog
+* Mon Jun 23 2014 Rex Dieter <rdieter at fedoraproject.org> 4.2.1-3
+- comply with http://fedoraproject.org/wiki/Packaging:Tmpfiles.d (#1112016)
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.2.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list