Change-Id: Iaed213c406e42e1eeac582443c36dcb6ed4ce24a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4950
Reviewed-by: Sharath George
Tested-by: Sharath George
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
Summary: SELinux library and simple utilities |
| 3 | 3 |
Name: libselinux |
| 4 | 4 |
Version: 2.6 |
| 5 |
-Release: 1%{?dist}
|
|
| 5 |
+Release: 2%{?dist}
|
|
| 6 | 6 |
License: Public Domain |
| 7 | 7 |
Group: System Environment/Libraries |
| 8 | 8 |
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160107/%{name}-%{version}.tar.gz
|
| ... | ... |
@@ -74,8 +74,7 @@ make LIBDIR="%{_libdir}" %{?_smp_mflags} pywrap
|
| 74 | 74 |
make DESTDIR="%{buildroot}" LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}/%{_lib}" BINDIR="%{buildroot}%{_bindir}" SBINDIR="%{buildroot}%{_sbindir}" install install-pywrap
|
| 75 | 75 |
|
| 76 | 76 |
mkdir -p %{buildroot}/%{_prefix}/lib/tmpfiles.d
|
| 77 |
-mkdir -p %{buildroot}/var/run/setrans
|
|
| 78 |
-echo "d /var/run/setrans 0755 root root" > %{buildroot}/%{_prefix}/lib/tmpfiles.d/libselinux.conf
|
|
| 77 |
+echo "d /run/setrans 0755 root root" > %{buildroot}/%{_prefix}/lib/tmpfiles.d/libselinux.conf
|
|
| 79 | 78 |
|
| 80 | 79 |
%clean |
| 81 | 80 |
rm -rf %{buildroot}
|
| ... | ... |
@@ -87,7 +86,7 @@ rm -rf %{buildroot}
|
| 87 | 87 |
%files |
| 88 | 88 |
%defattr(-,root,root,-) |
| 89 | 89 |
%{_lib}/libselinux.so.*
|
| 90 |
-%ghost /var/run/setrans |
|
| 90 |
+%ghost /run/setrans |
|
| 91 | 91 |
%{_prefix}/lib/tmpfiles.d/libselinux.conf
|
| 92 | 92 |
|
| 93 | 93 |
%files utils |
| ... | ... |
@@ -112,6 +111,8 @@ rm -rf %{buildroot}
|
| 112 | 112 |
%{python_sitearch}/_selinux.so
|
| 113 | 113 |
|
| 114 | 114 |
%changelog |
| 115 |
+* Wed Mar 28 2018 Anish Swaminathan <anishs@vmware.com> 2.6-2 |
|
| 116 |
+- Change setrans path to run |
|
| 115 | 117 |
* Mon May 22 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.6-1 |
| 116 | 118 |
- Update to version 2.6 (CVE bug:1836427) |
| 117 | 119 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.5-2 |