#7 Fix build with new setuptools
Merged 2 years ago by ckalina. Opened 2 years ago by lbalhar.
rpms/ lbalhar/ddiskit rawhide  into  rawhide

file modified
+8 -2
@@ -11,7 +11,7 @@ 

  

  %forgemeta

  

- Release:        16%{?dist}

+ Release:        17%{?dist}

  Summary:        Tool for Red Hat Enterprise Linux Driver Update Disk creation

  

  License:        GPLv3
@@ -35,6 +35,9 @@ 

  

  %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 @@ 

  %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 @@ 

  %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

  

Reported upstream: https://github.com/orosp/ddiskit/issues/17
Built in control COPR: https://copr.fedorainfracloud.org/coprs/lbalhar/setuptools/build/4550124/
Diff of the new and the old RPMs:

rpmdiff -i5 -iT ~/temp/ddiskit-3.6-16.20191129gitde1f684.fc37.noarch.rpm fedora-rawhide-x86_64/ddiskit-3.6-17.20220621gitde1f684.fc37.noarch.rpm 
removed     REQUIRES config(ddiskit) = 3.6-16.20191129gitde1f684.fc37
added       REQUIRES config(ddiskit) = 3.6-17.20220621gitde1f684.fc37
removed     PROVIDES config(ddiskit) = 3.6-16.20191129gitde1f684.fc37
removed     PROVIDES ddiskit = 3.6-16.20191129gitde1f684.fc37
added       PROVIDES config(ddiskit) = 3.6-17.20220621gitde1f684.fc37
added       PROVIDES ddiskit = 3.6-17.20220621gitde1f684.fc37
S.5........ /usr/lib/python3.11/site-packages/ddiskit-3.6-py3.11.egg-info/PKG-INFO

Build succeeded.

Pull-Request has been merged by ckalina

2 years ago
Metadata