diff --git a/libselinux.spec b/libselinux.spec index f09dd90..dc3ef72 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -7,7 +7,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.0.96 -Release: 8%{?dist} +Release: 9%{?dist} License: Public Domain Group: System Environment/Libraries Source: http://www.nsa.gov/research/selinux/%{name}-%{version}.tgz @@ -147,6 +147,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 InstallPythonWrapper %{__python} python2 %if 0%{?with_python3} @@ -186,6 +188,7 @@ exit 0 /%{_lib}/libselinux.so.* /var/run/setrans /sbin/matchpathcon +/etc/tmpfiles.d/libselinux.conf %files utils %defattr(-,root,root,-) @@ -233,6 +236,9 @@ exit 0 %{ruby_sitearch}/selinux.so %changelog +* Wed Dec 2 2010 Dan Walsh - 2.0.96-9 +- Add /etc/tmpfiles.d support for /var/run/setrans + * Sun Nov 24 2010 Dan Walsh - 2.0.96-8 - Ghost /var/run/setrans