From a7dfe5013f09de4013e08145fa92e3308ff173a9 Mon Sep 17 00:00:00 2001 From: Zamir SUN Date: Tue, 1 Jun 2021 05:48:37 +0000 Subject: [PATCH] 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 from utils import run, read_list File "/usr/share/ksc/utils.py", line 24, in from bugzilla import Bugzilla, BugzillaError File "/usr/share/ksc/bugzilla/__init__.py", line 13, in from .base import Bugzilla File "/usr/share/ksc/bugzilla/base.py", line 39, in from .transport import BugzillaError, _BugzillaServerProxy, _RequestsTransport File "/usr/share/ksc/bugzilla/transport.py", line 21, in import requests ModuleNotFoundError: No module named 'requests' ``` So adding python3-requests into Requires in case it is not pre-installed. Resolves: rhbz#1966411 Signed-off-by: Ziqian SUN (Zamir) --- ksc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ksc.spec b/ksc.spec index fbf2f68..1381c97 100644 --- a/ksc.spec +++ b/ksc.spec @@ -8,7 +8,7 @@ Name: ksc Version: 1.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Kernel source code checker Group: Development/Tools AutoReqProv: no @@ -18,6 +18,7 @@ BuildArch: noarch Requires: kmod Requires: binutils Requires: kernel-devel +Requires: python3-requests BuildRequires: python3-devel BuildRequires: python3-setuptools Source0: https://github.com/RedHatOfficial/ksc/archive/%{commit}/%{name}-%{shortcommit}.tar.gz @@ -45,6 +46,9 @@ install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1 %{python3_sitelib}/ksc-%{version}*.egg-info %changelog +* Tue Jun 01 2021 Ziqian SUN - 1.8-2 +- Adding python3-requests into Requires. + * Mon May 17 2021 Čestmír Kalina - 1.8-1 - Resolves: #1954495 ksc: i18n issues