diff --git a/python-eventlet.changes b/python-eventlet.changes index f012b02..c09fc26 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -17,6 +17,7 @@ Wed Oct 23 23:18:11 UTC 2024 - mcepl@cepl.eu - 313-new-thread-attributes.patch (gh#eventlet/eventlet#964) - no-dynamic-version.patch (we cannot use dynamic version number on a git checkout) +- Fix setting of the version number "manually" (with sed) ------------------------------------------------------------------- Wed Sep 18 08:28:43 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-eventlet.spec b/python-eventlet.spec index 3c50f40..ae9a257 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -68,6 +68,9 @@ interpreter, or as part of a larger application. %prep %autosetup -p1 -n eventlet-%{version} +# set the package version manually +sed -i -e '/^\s*__version__/s/0.0.0/%{up_version}/' eventlet/__init__.py + %build %pyproject_wheel