diff --git a/setools.spec b/setools.spec index bda9634fd03944c9187ef43df7371791c148dd9a..73a3cb4baea50a4ea8de33d173d88fc288b02a2e 100644 --- a/setools.spec +++ b/setools.spec @@ -1,6 +1,6 @@ Name: setools Version: 4.4.2 -Release: 1 +Release: 2 Summary: Policy Analysis Tools for SELinux License: GPLv2 URL: https://github.com/SELinuxProject/setools/wiki @@ -73,10 +73,11 @@ Gui packages for setools. %py3_install %check -sed -i "s#from setools import InfoFlowAnalysis#from setools.infoflow import InfoFlowAnalysis#" ./tests/conditionalinfoflow.py +sed -i "s#from setools import InfoFlowAnalysis#from setools.infoflow import InfoFlowAnalysis#" ./tests/test_conditionalinfoflow.py +sed -i "s#from setools import InfoFlowAnalysis#from setools.infoflow import InfoFlowAnalysis#" ./tests/test_infoflow.py +sed -i "s#from setools import DomainTransitionAnalysis#from setools.dta import DomainTransitionAnalysis#" ./tests/test_dta.py %{__python3} setup.py test - %files %files console @@ -110,6 +111,9 @@ sed -i "s#from setools import InfoFlowAnalysis#from setools.infoflow import Info %{_mandir}/ru/man1/* %changelog +* Fir Aug 04 2023 jinlun - 4.4.2-2 +- fix in the test phase error + * Thu Jul 20 2023 jinlun - 4.4.2-1 - update setools to 4.4.2