Fix permissions set on macro-expander tool.

macro-exapnder is part of selinux-policy-devel rpm package, but the tool
was installed with wrong permissions set so it was not possible to
execute this tool. This commit fixes the issue.
This commit is contained in:
Lukas Vrabec 2019-10-16 16:40:59 +02:00
parent 840e53f65a
commit 4a9509e8a2
No known key found for this signature in database
GPG Key ID: 47201AC42F29CE06

View File

@ -419,7 +419,7 @@ touch %{buildroot}%{_sysconfdir}/sysconfig/selinux
mkdir -p %{buildroot}%{_usr}/lib/tmpfiles.d/ mkdir -p %{buildroot}%{_usr}/lib/tmpfiles.d/
cp %{SOURCE27} %{buildroot}%{_usr}/lib/tmpfiles.d/ cp %{SOURCE27} %{buildroot}%{_usr}/lib/tmpfiles.d/
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
cp %{SOURCE33} %{buildroot}%{_bindir}/ install -m 755 %{SOURCE33} %{buildroot}%{_bindir}/
# Always create policy module package directories # Always create policy module package directories
mkdir -p %{buildroot}%{_usr}/share/selinux/{targeted,mls,minimum,modules}/ mkdir -p %{buildroot}%{_usr}/share/selinux/{targeted,mls,minimum,modules}/