Revert "* Tue Jun 22 2021 Zdenek Pytela <zpytela@redhat.com> - 34.12-2"

This reverts commit 8417543050
which added explicit /dev/dma_heap relabeling temporarily to the specfile.
This commit is contained in:
Zdenek Pytela 2021-08-27 11:43:37 +02:00
parent c53bdced40
commit 95a4bac6d3

View File

@ -285,10 +285,6 @@ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = %1 -a -f ${FILE_CONTEXT}.p
%{_sbindir}/fixfiles -C ${FILE_CONTEXT}.pre restore &> /dev/null > /dev/null; \
rm -f ${FILE_CONTEXT}.pre; \
fi; \
# the type of the /dev/dma_heap directory has changed, therefore explicit relabeling \
# is needed as fixfiles excludes /dev \
# this is a temporary workaround till July 2021 \
[ -f /dev/dma_heap ] && %{_sbindir}/restorecon -R /dev/dma_heap \
if %{_sbindir}/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \
continue; \
fi;