fix(spec) : Add python%{python3_version}dist(dogtail) to solve the problem that the package cannot be provided.

- 添加 python%{python3_version}dist(dogtail) 以解决无法提供包的问题

Signed-off-by: chendingjian <chendingjian@kylinsec.com.cn>
This commit is contained in:
chendingjian 2023-02-06 14:58:48 +08:00
parent 94b64fdc68
commit ac674e699c

View File

@ -1,6 +1,6 @@
Name: dogtail
Version: 0.9.10
Release: 3
Release: 4
Summary: Tools for GUI testing automatically
License: GPLv2
URL: https://gitlab.com/dogtail/dogtail/
@ -19,6 +19,8 @@ Summary: GUI test tool and automation framework - python3 installation
BuildRequires: python3-devel python3-setuptools
Requires: python3-pyatspi python3-gobject python3-cairo rpm-python3
Requires: xorg-x11-xinit hicolor-icon-theme
Provides: python%{python3_pkgversion}dist(dogtail) = %{version}
Provides: python%{python3_version}dist(dogtail) = %{version}
%description -n python3-dogtail
GUI test tool and automation framework that uses assistive technologies to
@ -67,6 +69,9 @@ fi
%doc examples/
%changelog
* Mon Feb 06 2023 chendingjian <chendingjian@kylinsec.com.cn> - 0.9.10-4
- Add python%{python3_version}dist(dogtail) to solve the problem that the package cannot be provided.
* Thu Oct 22 2020 huanghaitao <huanghaitao8@huawei.com> - 0.9.10-3
- Disable python2 module