From 1dbcee286461aeec8cc9096ef540a42cfbfbc935 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Mar 07 2022 08:47:25 +0000 Subject: Fix package build with python-setuptools >= 60.x Setuptools' bundled distutils normalizes the package version string by stripping the leading 0, effectively changing the resulting egg name. Using asterisk instead of the version string works around this issue. --- diff --git a/python-ana.spec b/python-ana.spec index df10e41..46e7f30 100644 --- a/python-ana.spec +++ b/python-ana.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.06 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python module to provide easy distributed data storage License: MIT @@ -40,9 +40,12 @@ to a central location and then "pickle" the object into just its UUID. %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info +%{python3_sitelib}/%{pypi_name}-*-py*.egg-info %changelog +* Mon Mar 07 2022 Karolina Surma - 0.06-8 +- Fix package build with setuptools >= 60.x + * Fri Jan 21 2022 Fedora Release Engineering - 0.06-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild