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

This commit is contained in:
Dan Walsh 2012-07-16 17:13:48 -04:00
parent 852ea731d6
commit 6b51ca9aaf

View File

@ -8,7 +8,7 @@
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Name: libselinux Name: libselinux
Version: 2.1.11 Version: 2.1.11
Release: 2%{?dist} Release: 3%{?dist}
License: Public Domain License: Public Domain
Group: System Environment/Libraries Group: System Environment/Libraries
Source: %{name}-%{version}.tgz Source: %{name}-%{version}.tgz
@ -146,8 +146,8 @@ mkdir -p %{buildroot}/%{_libdir}
mkdir -p %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}/var/run/setrans mkdir -p %{buildroot}/var/run/setrans
mkdir -p %{buildroot}/etc/tmpfiles.d mkdir -p %{buildroot}/usr/lib/tmpfiles.d
echo "d /var/run/setrans 0755 root root" > %{buildroot}/etc/tmpfiles.d/libselinux.conf echo "d /var/run/setrans 0755 root root" > %{buildroot}/usr/lib/tmpfiles.d/libselinux.conf
InstallPythonWrapper %{__python} InstallPythonWrapper %{__python}
%if 0%{?with_python3} %if 0%{?with_python3}
@ -185,7 +185,7 @@ rm -rf %{buildroot}
%{_libdir}/libselinux.so.* %{_libdir}/libselinux.so.*
/var/run/setrans /var/run/setrans
%{_sbindir}/matchpathcon %{_sbindir}/matchpathcon
/etc/tmpfiles.d/libselinux.conf /usr/lib/tmpfiles.d/libselinux.conf
%files utils %files utils
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -233,6 +233,9 @@ rm -rf %{buildroot}
%{ruby_sitearch}/selinux.so %{ruby_sitearch}/selinux.so
%changelog %changelog
* Mon Jul 16 2012 Dan Walsh <dwalsh@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@redhat.com> - 2.1.11-2 * Fri Jul 13 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-2
- Revert Eric Paris Patch for selinux_binary_policy_path - Revert Eric Paris Patch for selinux_binary_policy_path