From 6657c99fe0a0c457c441549c649664d762a0487e3e4bbd2b0223154f13abf0f2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 4 Jun 2021 21:13:08 +0000 Subject: [PATCH] Accepting request 897545 from home:alarrosa:branches:devel:languages:python - Fix package version. Upstream didn't tag nor change the version number in git although it was released in pypi as 0.31.0 OBS-URL: https://build.opensuse.org/request/show/897545 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=48 --- python-zeroconf.changes | 6 ++++++ python-zeroconf.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-zeroconf.changes b/python-zeroconf.changes index 1bd57cf..5004221 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 4 17:16:48 UTC 2021 - Antonio Larrosa + +- Fix package version. Upstream didn't tag nor change the version + number in git although it was released in pypi as 0.31.0 + ------------------------------------------------------------------- Thu Jun 3 11:53:04 UTC 2021 - Antonio Larrosa diff --git a/python-zeroconf.spec b/python-zeroconf.spec index 95fcde8..f72c856 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -46,6 +46,7 @@ does not force you to use a particular event loop or python-twisted. %prep %autosetup -p1 +sed -i -e "s/__version__ = '0.29.0'/__version__ = '%{version}'/" zeroconf/__init__.py %build %python_build @@ -61,6 +62,7 @@ does not force you to use a particular event loop or python-twisted. %files %{python_files} %doc README.rst %license COPYING -%{python_sitelib}/zeroconf* +%{python_sitelib}/zeroconf +%{python_sitelib}/zeroconf-%{version}-py%{python_version}.egg-info %changelog