Fix compatibility with newer setuptools
This commit is contained in:
parent
eb65d4892d
commit
c8550e5c66
8
ksc.spec
8
ksc.spec
@ -8,7 +8,7 @@
|
||||
|
||||
Name: ksc
|
||||
Version: 1.7
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Kernel source code checker
|
||||
Group: Development/Tools
|
||||
AutoReqProv: no
|
||||
@ -28,6 +28,9 @@ A kernel module source code checker to find usage of select symbols
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
# Fix build with setuptools 62.1
|
||||
# https://github.com/RedHatOfficial/ksc/issues/3
|
||||
sed -i "15i packages=[]," setup.py
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -46,6 +49,9 @@ install -D ksc.1 %{buildroot}%{_mandir}/man1/ksc.1
|
||||
%{python3_sitelib}/ksc-%{version}*.egg-info
|
||||
|
||||
%changelog
|
||||
* Tue Jun 21 2022 Lumír Balhar <lbalhar@redhat.com> - 1.7-5
|
||||
- Fix compatibility with newer setuptools
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - Packaging variables read or set by %forgemeta
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user