- Add /etc/tmpfiles.d support for /var/run/setrans
This commit is contained in:
parent
3dcd5c3eb3
commit
8b8064a26e
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 2.0.96
|
Version: 2.0.96
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://www.nsa.gov/research/selinux/%{name}-%{version}.tgz
|
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}%{_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
|
||||||
|
echo "d /var/run/setrans 0755 root root" > %{buildroot}/etc/tmpfiles.d/libselinux.conf
|
||||||
|
|
||||||
InstallPythonWrapper %{__python} python2
|
InstallPythonWrapper %{__python} python2
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -186,6 +188,7 @@ exit 0
|
|||||||
/%{_lib}/libselinux.so.*
|
/%{_lib}/libselinux.so.*
|
||||||
/var/run/setrans
|
/var/run/setrans
|
||||||
/sbin/matchpathcon
|
/sbin/matchpathcon
|
||||||
|
/etc/tmpfiles.d/libselinux.conf
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -233,6 +236,9 @@ exit 0
|
|||||||
%{ruby_sitearch}/selinux.so
|
%{ruby_sitearch}/selinux.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 2 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.96-9
|
||||||
|
- Add /etc/tmpfiles.d support for /var/run/setrans
|
||||||
|
|
||||||
* Sun Nov 24 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.96-8
|
* Sun Nov 24 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.96-8
|
||||||
- Ghost /var/run/setrans
|
- Ghost /var/run/setrans
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user