[libselinux] Move the tmpfiles.d content from /etc/tmpfiles.d to /usr/lib/tmpfiles.d

Daniel J Walsh dwalsh at fedoraproject.org
Mon Jul 16 21:14:04 UTC 2012


commit 6b51ca9aaf7d8cfbd22e96162f284360e6eb562f
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Mon Jul 16 17:13:48 2012 -0400

    Move the tmpfiles.d content from /etc/tmpfiles.d to /usr/lib/tmpfiles.d

 libselinux.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index 38eec7f..17e6741 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -8,7 +8,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.1.11
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: Public Domain
 Group: System Environment/Libraries
 Source: %{name}-%{version}.tgz
@@ -146,8 +146,8 @@ mkdir -p %{buildroot}/%{_libdir}
 mkdir -p %{buildroot}%{_includedir} 
 mkdir -p %{buildroot}%{_sbindir}
 mkdir -p %{buildroot}/var/run/setrans
-mkdir -p %{buildroot}/etc/tmpfiles.d
-echo "d /var/run/setrans 0755 root root" > %{buildroot}/etc/tmpfiles.d/libselinux.conf
+mkdir -p %{buildroot}/usr/lib/tmpfiles.d
+echo "d /var/run/setrans 0755 root root" > %{buildroot}/usr/lib/tmpfiles.d/libselinux.conf
 
 InstallPythonWrapper %{__python}
 %if 0%{?with_python3}
@@ -185,7 +185,7 @@ rm -rf %{buildroot}
 %{_libdir}/libselinux.so.*
 /var/run/setrans
 %{_sbindir}/matchpathcon
-/etc/tmpfiles.d/libselinux.conf
+/usr/lib/tmpfiles.d/libselinux.conf
 
 %files utils
 %defattr(-,root,root,-)
@@ -233,6 +233,9 @@ rm -rf %{buildroot}
 %{ruby_sitearch}/selinux.so
 
 %changelog
+* Mon Jul 16 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.11-3
+- Move the tmpfiles.d content from /etc/tmpfiles.d to /usr/lib/tmpfiles.d
+
 * Fri Jul 13 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.11-2
 - Revert Eric Paris Patch for selinux_binary_policy_path
 


More information about the scm-commits mailing list