commit 6c1c2f6f3f9f9959e88c2a05790417825cbbf140 Author: CentOS Sources Date: Tue Nov 15 02:06:54 2022 -0500 import ksc-1.11-2.gitd4f36f3.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..35bf86e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ksc-d4f36f3.tar.gz diff --git a/.ksc.metadata b/.ksc.metadata new file mode 100644 index 0000000..01d9244 --- /dev/null +++ b/.ksc.metadata @@ -0,0 +1 @@ +473a8fb8d620251dbd425f61a85cedf9cf165c2a SOURCES/ksc-d4f36f3.tar.gz diff --git a/SPECS/ksc.spec b/SPECS/ksc.spec new file mode 100644 index 0000000..72c6129 --- /dev/null +++ b/SPECS/ksc.spec @@ -0,0 +1,81 @@ +%global forgeurl https://github.com/RedHatOfficial/ksc +%global commitdate 20220613 +%global commit d4f36f3cac349feb9eb346a206f2616d05f519e8 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%{?python_enable_dependency_generator} +%forgemeta -i + +Name: ksc +Version: 1.11 +Release: 2%{?dist} +Summary: Kernel source code checker +Group: Development/Tools +AutoReqProv: no +License: GPLv2+ +URL: https://github.com/RedHatOfficial/ksc +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 + +%description +A kernel module source code checker to find usage of select symbols + +%prep +%forgesetup + +%build +%py3_build + +%install +%py3_install +install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1 + +%files +%license COPYING +%doc README PKG-INFO +%{_bindir}/ksc +%{_datadir}/ksc +%{_mandir}/man1/ksc.* +%config(noreplace) %{_sysconfdir}/ksc.conf +%{python3_sitelib}/ksc-%{version}*.egg-info + +%changelog +* Mon Jun 13 2022 Čestmír Kalina - 1.11-2 +- Resolves: #2066228 - Explicitly require target specification + +* Wed May 18 2022 Čestmír Kalina - 1.11-1 +- Resolves: #2066228 - Explicitly require target specification + +* Wed Apr 13 2022 Čestmír Kalina - 1.10-1 +- Resolves: #2066226 Drop mandatory kernel-abi-stablelist dependency + +* Wed Feb 09 2022 Čestmír Kalina - 1.9-1 +- Resolves: #2043447 ksc: Support Authorization header in bugzilla API + +* Sun Dec 19 2021 Čestmír Kalina - 1.8-5 +- Resolves: #2032138 add Red Hat Enterprise Linux 9 support + +* Mon Nov 22 2021 Čestmír Kalina - 1.8-4 +- Resolves: #1761398 Add symbol namespace support to ksc + +* Mon Aug 09 2021 Mohan Boddu - Forge-specific packaging variables +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* 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 + +* Fri Apr 16 2021 Mohan Boddu - Forge-specific packaging variables +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 05 2021 Čestmír Kalina - 1.7-1 +- Initial Fedora commit.