diff --git a/ddiskit.spec b/ddiskit.spec index b033201..094eb58 100644 --- a/ddiskit.spec +++ b/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 - 3.6-17 +- Fix build with new setuptools + * Mon Jun 13 2022 Python Maint - 3.6-16 - Rebuilt for Python 3.11