import ksc-1.9-2.el8
This commit is contained in:
parent
8428d2c7fd
commit
a29584b41d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/ksc-1.8-3.el8.tar.gz
|
SOURCES/ksc-1.9.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
e1c8b333fc4fcf77ae1bbb05d308ab9ed8165678 SOURCES/ksc-1.8-3.el8.tar.gz
|
27f4308a73e4cfe85dbd122fb7e81b47395371e1 SOURCES/ksc-1.9.tar.gz
|
||||||
|
9
SOURCES/Replace-python3-with-platform-python.patch
Normal file
9
SOURCES/Replace-python3-with-platform-python.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -ru a/ksc b/ksc
|
||||||
|
--- a/ksc 2022-02-11 07:47:47.000000000 +0100
|
||||||
|
+++ b/ksc 2022-02-21 13:22:53.038431651 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
export PYTHONPATH=/usr/share/ksc
|
||||||
|
-exec /usr/bin/python3 -tt /usr/share/ksc/ksc.py "$@"
|
||||||
|
+exec /usr/libexec/platform-python -tt /usr/share/ksc/ksc.py "$@"
|
||||||
|
|
@ -1,12 +1,12 @@
|
|||||||
Name: ksc
|
Name: ksc
|
||||||
Version: 1.8
|
Version: 1.9
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Kernel source code checker
|
Summary: Kernel source code checker
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.redhat.com/
|
URL: https://github.com/RedHatOfficial/ksc
|
||||||
Source0: ksc-%{version}-%{release}.tar.gz
|
Source0: ksc-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%{?__python3:Requires: %{__python3}}
|
%{?__python3:Requires: %{__python3}}
|
||||||
Requires: (kernel-abi-whitelists or kernel-abi-stablelists)
|
Requires: (kernel-abi-whitelists or kernel-abi-stablelists)
|
||||||
@ -17,22 +17,25 @@ Requires: python3-magic
|
|||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
Patch0: Replace-python3-with-platform-python.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A kernel module source code checker to find usage of non whitelist symbols
|
A kernel module source code checker to find usage of non whitelist symbols
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python3} setup.py build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python3} setup.py install -O1 --root %{buildroot}
|
%{__python3} setup.py install -O1 --root %{buildroot}
|
||||||
install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
|
install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README COPYING PKG-INFO
|
%license COPYING
|
||||||
|
%doc README PKG-INFO
|
||||||
%{_bindir}/ksc
|
%{_bindir}/ksc
|
||||||
%{_datadir}/ksc
|
%{_datadir}/ksc
|
||||||
%{_mandir}/man1/ksc.*
|
%{_mandir}/man1/ksc.*
|
||||||
@ -40,6 +43,12 @@ install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
|
|||||||
%{python3_sitelib}/ksc-%{version}*.egg-info
|
%{python3_sitelib}/ksc-%{version}*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 21 2022 Čestmír Kalina <ckalina@redhat.com> - 1.9-2
|
||||||
|
- Resolves: #2043450 ksc: Support Authorization header in bugzilla API
|
||||||
|
- Use platform-python in place of python3
|
||||||
|
* Fri Feb 11 2022 Čestmír Kalina <ckalina@redhat.com> - 1.9-1
|
||||||
|
- Resolves: #2043450 ksc: Support Authorization header in bugzilla API
|
||||||
|
- Rebase to latest ksc release
|
||||||
* Mon May 17 2021 Čestmír Kalina <ckalina@redhat.com> - 1.8-3
|
* Mon May 17 2021 Čestmír Kalina <ckalina@redhat.com> - 1.8-3
|
||||||
- Resolves: #1954340 ksc: i18n issues,
|
- Resolves: #1954340 ksc: i18n issues,
|
||||||
- Add release to Source0
|
- Add release to Source0
|
||||||
|
Loading…
Reference in New Issue
Block a user