import ksc-1.12-7.git869a25c.el10

i10cs changed/i10cs/ksc-1.12-7.git869a25c.el10
MSVSphere Packaging Team 3 months ago
parent fc22cc25e9
commit 4ae0846d42
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

@ -0,0 +1,11 @@
--- a/utils.py
+++ b/utils.py
@@ -126,7 +126,7 @@
print('This tool needs to run on Red Hat Enterprise Linux')
return None
for rel in release:
- if re.match("\d.\d+",rel):
+ if re.match(r"\d+.\d+",rel):
return rel
print('This tool needs to run on Red Hat Enterprise Linux')
return None

@ -8,7 +8,7 @@
Name: ksc Name: ksc
Version: 1.12 Version: 1.12
Release: 6%{?dist} Release: 7%{?dist}
Summary: Kernel source code checker Summary: Kernel source code checker
Group: Development/Tools Group: Development/Tools
AutoReqProv: no AutoReqProv: no
@ -24,6 +24,7 @@ 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
Patch0: 0001-manpage.patch Patch0: 0001-manpage.patch
Patch1: 0002-c9s-notifications.patch Patch1: 0002-c9s-notifications.patch
Patch2: 0003-cs-fix-invalid-escape.patch
%description %description
A kernel module source code checker to find usage of select symbols A kernel module source code checker to find usage of select symbols
@ -35,6 +36,7 @@ A kernel module source code checker to find usage of select symbols
sed -i "15i packages=[]," setup.py sed -i "15i packages=[]," setup.py
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%py3_build %py3_build
@ -53,6 +55,9 @@ install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
%{python3_sitelib}/ksc-%{version}*.egg-info %{python3_sitelib}/ksc-%{version}*.egg-info
%changelog %changelog
* Mon Nov 18 2024 Čestmír Kalina <ckalina@redhat.com> - 1.12-7
- Resolves: RHEL-65759
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - Packaging variables read or set by %forgemeta * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - Packaging variables read or set by %forgemeta
- Bump release for October 2024 mass rebuild: - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018 Resolves: RHEL-64018

Loading…
Cancel
Save