Add python3-requests ksc.spec to Requires
Without python3-requests, ksc will fail with ``` Traceback (most recent call last): File "/usr/share/ksc/ksc.py", line 16, in <module> from utils import run, read_list File "/usr/share/ksc/utils.py", line 24, in <module> from bugzilla import Bugzilla, BugzillaError File "/usr/share/ksc/bugzilla/__init__.py", line 13, in <module> from .base import Bugzilla File "/usr/share/ksc/bugzilla/base.py", line 39, in <module> from .transport import BugzillaError, _BugzillaServerProxy, _RequestsTransport File "/usr/share/ksc/bugzilla/transport.py", line 21, in <module> import requests ModuleNotFoundError: No module named 'requests' ``` So adding python3-requests into Requires in case it is not pre-installed.
This commit is contained in:
parent
dde9ff6bb0
commit
787f478833
6
ksc.spec
6
ksc.spec
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: ksc
|
Name: ksc
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Kernel source code checker
|
Summary: Kernel source code checker
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
@ -18,6 +18,7 @@ BuildArch: noarch
|
|||||||
Requires: kmod
|
Requires: kmod
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
Requires: kernel-devel
|
Requires: kernel-devel
|
||||||
|
Requires: python3-requests
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Source0: https://github.com/RedHatOfficial/ksc/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
Source0: https://github.com/RedHatOfficial/ksc/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||||
@ -45,5 +46,8 @@ install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
|
|||||||
%{python3_sitelib}/ksc-%{version}*.egg-info
|
%{python3_sitelib}/ksc-%{version}*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 01 2021 Zamir SUN <sztsian@gmail.com> - 1.7-2
|
||||||
|
- Add python3-requests into Requires
|
||||||
|
|
||||||
* Tue Jan 05 2021 Čestmír Kalina <ckalina@redhat.com> - 1.7-1
|
* Tue Jan 05 2021 Čestmír Kalina <ckalina@redhat.com> - 1.7-1
|
||||||
- Initial Fedora commit.
|
- Initial Fedora commit.
|
||||||
|
Loading…
Reference in New Issue
Block a user