Fix build with new setuptools
This commit is contained in:
parent
9b23728079
commit
d851f75ab2
10
ddiskit.spec
10
ddiskit.spec
@ -11,7 +11,7 @@ Version: 3.6
|
||||
|
||||
%forgemeta
|
||||
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
Summary: Tool for Red Hat Enterprise Linux Driver Update Disk creation
|
||||
|
||||
License: GPLv3
|
||||
@ -35,6 +35,9 @@ kernel modules.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
# Fix build with setuptools 62.1
|
||||
# https://github.com/orosp/ddiskit/issues/17
|
||||
sed -i "8i packages=[]," setup.py
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -49,7 +52,7 @@ find %{buildroot} -size 0 -delete
|
||||
%files -n %{name}
|
||||
%doc README
|
||||
%license COPYING
|
||||
%{python3_sitelib}/*
|
||||
%{python3_sitelib}/ddiskit-*.egg-info
|
||||
%{_bindir}/ddiskit
|
||||
%{_mandir}/man1/ddiskit.1*
|
||||
%{_datadir}/bash-completion/completions/ddiskit
|
||||
@ -68,6 +71,9 @@ find %{buildroot} -size 0 -delete
|
||||
%config(noreplace) /etc/ddiskit.config
|
||||
|
||||
%changelog
|
||||
* Tue Jun 21 2022 Lumír Balhar <lbalhar@redhat.com> - 3.6-17
|
||||
- Fix build with new setuptools
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.6-16
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user