Compare commits

...

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

@ -1,11 +0,0 @@
--- 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,11 +8,11 @@
Name: ksc Name: ksc
Version: 1.12 Version: 1.12
Release: 7%{?dist} Release: 4%{?dist}
Summary: Kernel source code checker Summary: Kernel source code checker
Group: Development/Tools Group: Development/Tools
AutoReqProv: no AutoReqProv: no
License: GPL-2.0-or-later License: GPLv2+
URL: https://github.com/RedHatOfficial/ksc URL: https://github.com/RedHatOfficial/ksc
BuildArch: noarch BuildArch: noarch
Requires: kmod Requires: kmod
@ -24,19 +24,14 @@ 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
%prep %prep
%forgesetup %forgesetup
# Fix build with setuptools 62.1
# https://github.com/RedHatOfficial/ksc/issues/3
sed -i "15i packages=[]," setup.py
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%py3_build %py3_build
@ -55,46 +50,45 @@ 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 * Mon Mar 06 2023 Čestmír Kalina <ckalina@redhat.com> - 1.12-3
- Resolves: RHEL-65759 - Resolves: #2165820 - The email method always mark CentOS Stream as release
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - Packaging variables read or set by %forgemeta * Mon Jan 23 2023 Čestmír Kalina <ckalina@redhat.com> - 1.12-2
- Bump release for October 2024 mass rebuild: - Resolves: #2066231 - add manpage docs
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - Packaging variables read or set by %forgemeta * Mon Jan 09 2023 Čestmír Kalina <ckalina@redhat.com> - 1.12-1
- Bump release for June 2024 mass rebuild - Resolves: #2066231 - update to ksc 1.12
* Tue May 28 2024 Čestmír Kalina <ckalina@redhat.com> - 1.12-4 * Mon Jun 13 2022 Čestmír Kalina <ckalina@redhat.com> - 1.11-2
- Resolves: JIRA: https://issues.redhat.com/browse/RHEL-35791 - Resolves: #2066228 - Explicitly require target specification
- Update to the latest ksc
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Wed May 18 2022 Čestmír Kalina <ckalina@redhat.com> - 1.11-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Resolves: #2066228 - Explicitly require target specification
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Wed Apr 13 2022 Čestmír Kalina <ckalina@redhat.com> - 1.10-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Resolves: #2066226 Drop mandatory kernel-abi-stablelist dependency
* Mon Jun 19 2023 Čestmír Kalina <ckalina@redhat.com> - 1.7-8 * Wed Feb 09 2022 Čestmír Kalina <ckalina@redhat.com> - 1.9-1
- Migrate license to SPDX - Resolves: #2043447 ksc: Support Authorization header in bugzilla API
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Sun Dec 19 2021 Čestmír Kalina <ckalina@redhat.com> - 1.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Resolves: #2032138 add Red Hat Enterprise Linux 9 support
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Mon Nov 22 2021 Čestmír Kalina <ckalina@redhat.com> - 1.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Resolves: #1761398 Add symbol namespace support to ksc
* Tue Jun 21 2022 Lumír Balhar <lbalhar@redhat.com> - 1.7-5 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - Forge-specific packaging variables
- Fix compatibility with newer setuptools - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Tue Jun 01 2021 Ziqian SUN <zsun@redhat.com> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Adding python3-requests into Requires.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta * Mon May 17 2021 Čestmír Kalina <ckalina@redhat.com> - 1.8-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Resolves: #1954495 ksc: i18n issues
* Tue Jun 01 2021 Zamir SUN <sztsian@gmail.com> - 1.7-2 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - Forge-specific packaging variables
- Add python3-requests into Requires - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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…
Cancel
Save