14
0

- Fix setting of the version number "manually" (with sed)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=123
This commit is contained in:
2024-10-24 14:50:13 +00:00
committed by Git OBS Bridge
parent 64bf7232be
commit a755cf3e1d
2 changed files with 4 additions and 0 deletions

View File

@@ -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 <adrian.glaubitz@suse.com>

View File

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