fix-安装setools-gui后执行apol报错,找不到PyQt5,networkx模块

添加运行依赖

Signed-off-by: jinlun <jinlun@huawei.com>
(cherry picked from commit 5edf7a8fcf469088207f8636590138c9ce42763f)
This commit is contained in:
jinlun 2023-01-04 03:26:37 +00:00 committed by openeuler-sync-bot
parent b389b44beb
commit a565d0a533

View File

@ -1,6 +1,6 @@
Name: setools
Version: 4.4.0
Release: 3
Release: 4
Summary: Policy Analysis Tools for SELinux
License: GPLv2
URL: https://github.com/SELinuxProject/setools/wiki
@ -55,6 +55,8 @@ Python3 package for setools.
%package gui
Summary: Gui packages for setools
Requires: python3-setools = %{version}-%{release}
Requires: python3-qt5
Requires: python3-networkx
%description gui
Gui packages for setools.
@ -108,6 +110,9 @@ Gui packages for setools.
%{_mandir}/ru/man1/*
%changelog
* Wed Jan 4 2023 jinlun <jinlun@huawei.com> - 4.4.0-4
- add Requires in gui
* Tue Oct 18 2022 jinlun <jinlun@huawei.com> - 4.4.0-3
- Rebuild for new release number