#3 Fix compatibility with newer setuptools
Merged 2 years ago by cstratak. Opened 2 years ago by lbalhar.
rpms/ lbalhar/ec2-hibinit-agent rawhide  into  rawhide

file modified
+7 -1
@@ -12,7 +12,7 @@ 

  

  Name:           ec2-hibinit-agent

  Version:        1.0.4

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Hibernation setup utility for Amazon EC2

  

  License:        ASL 2.0
@@ -39,6 +39,9 @@ 

  

  %prep

  %autosetup -n %{project}-%{version}

+ # Fix build with setuptools 62.1

+ # https://github.com/aws/amazon-ec2-hibinit-agent/issues/24

+ sed -i "20i packages=[]," setup.py

   

  %build

  %py3_build
@@ -141,6 +144,9 @@ 

  %selinux_relabel_post -s %{selinuxtype}

  

  %changelog

+ * Tue Jun 21 2022 Lumír Balhar <lbalhar@redhat.com> - 1.0.4-5

+ - Fix compatibility with newer setuptools

+ 

  * Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.0.4-4

  - Rebuilt for Python 3.11

  

Reported upstream: https://github.com/aws/amazon-ec2-hibinit-agent/issues/24
Built in control COPR: https://copr.fedorainfracloud.org/coprs/lbalhar/setuptools/build/4550513/
Diff of the old and the new packages:

rpmdiff -i5 -iT ~/temp/ec2-hibinit-agent-1.0.4-4.fc37.noarch.rpm fedora-rawhide-x86_64/ec2-hibinit-agent-1.0.4-5.fc37.noarch.rpm 
removed     REQUIRES config(ec2-hibinit-agent) = 1.0.4-4.fc37
added       REQUIRES config(ec2-hibinit-agent) = 1.0.4-5.fc37
removed     PROVIDES config(ec2-hibinit-agent) = 1.0.4-4.fc37
removed     PROVIDES ec2-hibinit-agent = 1.0.4-4.fc37
added       PROVIDES config(ec2-hibinit-agent) = 1.0.4-5.fc37
added       PROVIDES ec2-hibinit-agent = 1.0.4-5.fc37
S.5........ /usr/lib/python3.11/site-packages/ec2_hibinit_agent-1.0.2-py3.11.egg-info/PKG-INFO

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

The failure of Zull is not related to this change.

Pull-Request has been merged by cstratak

2 years ago
Metadata