#3 Add python2-setuptools to BuildRequires
Merged 4 years ago by kevin. Opened 4 years ago by kevin.
Unknown source fix-egg  into  master

file modified
+5 -1
@@ -6,7 +6,7 @@

  

  Name:           python-%{srcname}

  Version:        5.6.3

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        %{sum}

  

  License:        BSD
@@ -33,6 +33,7 @@

  # The exception is for chromium (chrome-remote-desktop)

  # https://pagure.io/fesco/issue/2214

  BuildRequires:  python27

+ BuildRequires:  python2-setuptools

  %endif

  

  %description
@@ -111,6 +112,9 @@

  

  

  %changelog

+ * Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 5.6.3-5

+ - Add python2-setuptools to BuildRequires to fix egg info. Fixes bug #1750362

+ 

  * Tue Sep 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.6.3-4

  - Reduce unused build dependencies

  

This gives us the full egg-info directory.
If we don't do this, then upgrades are broken because the egg-info dir
switches to a file which conflicts. See bug 1750362

Signed-off-by: Kevin Fenzi kevin@scrye.com

@churchyard is this the correct way to solve this issue? Or is python2-setuptools going to go away and we should just do the lua scripting magic to change it from a dir to a file?

python2-setuptools is unsure yet, I suggest to keep it for now, we can always add the scripting magic later.

ok, will merge this for now. Keep in mind other python2 packages may hit this and it will need fixing if python2-setuptools goes away.

Pull-Request has been merged by kevin

4 years ago