[uucp] move /etc/tmpfiles.d/uucp.conf to /usr/lib/tmpfiles.d
Nils Philippsen
nphilipp at fedoraproject.org
Tue Jun 19 10:10:01 UTC 2012
commit f115bf7f2f8382c2f1ba35421567f02111353c99
Author: Nils Philippsen <nils at redhat.com>
Date: Tue Jun 19 12:09:32 2012 +0200
move /etc/tmpfiles.d/uucp.conf to /usr/lib/tmpfiles.d
uucp.spec | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/uucp.spec b/uucp.spec
index e05a8ec..190eea4 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -14,7 +14,7 @@
Summary: A set of utilities for operations between systems
Name: uucp
Version: 1.07
-Release: 29%{?dist}
+Release: 30%{?dist}
License: GPLv2+
Group: Applications/Communications
Url: http://www.airs.com/ian/uucp.html
@@ -119,9 +119,9 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
texi2html -monolithic uucp.texi
%if %{with lock_on_tmpfs}
-# install /etc/tmpfiles.d/uucp.conf
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d
-cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/uucp.conf <<EOF
+# install /usr/lib/tmpfiles.d/uucp.conf
+mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/tmpfiles.d
+cat > ${RPM_BUILD_ROOT}%{_prefix}/lib/tmpfiles.d/uucp.conf <<EOF
d %{_varlockdir} 0755 uucp uucp -
EOF
%endif
@@ -198,7 +198,7 @@ fi
%config(noreplace) /etc/logrotate.d/uucp
%if %{with lock_on_tmpfs}
-%{_sysconfdir}/tmpfiles.d/uucp.conf
+%{_prefix}/lib/tmpfiles.d/uucp.conf
%endif
%{_unitdir}/%{name}@.service
%{_unitdir}/%{name}.socket
@@ -213,6 +213,9 @@ fi
%config(noreplace) %{_newconfigdir}/sys
%changelog
+* Tue Jun 19 2012 Nils Philippsen <nils at redhat.com> - 1.07-30
+- move /etc/tmpfiles.d/uucp.conf to /usr/lib/tmpfiles.d
+
* Tue Jan 10 2012 Nils Philippsen <nils at redhat.com> - 1.07-29
- rebuild for gcc 4.7
More information about the scm-commits
mailing list