diff --git a/python-zeroconf.spec b/python-zeroconf.spec index d4623434af57895b6ba00ca91da6166800a8823a..39561fd8efe3fdf58ad437b8db8bbde9e653a28b 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -4,12 +4,14 @@ Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) Name: python-zeroconf -Version: 0.39.4 -Release: 4%{?dist} +Version: 0.102.0 +Release: 1%{?dist} License: LGPL-2.0-only and LGPL-2.1-only URL: https://github.com/jstasiak/python-zeroconf Source0: %pypi_source +BuildRequires: python3-pytest python3-pytest-asyncio python3-cython + BuildArch: noarch %description %{_description} @@ -22,6 +24,9 @@ Summary: %{summary} %prep %autosetup -n %{pypi_name}-%{version} +sed -i 's/poetry-core>=1.5.2/poetry-core/' pyproject.toml +sed -Ei 's/--cov(-|=)[^ "]+//g' pyproject.toml + %generate_buildrequires %pyproject_buildrequires @@ -32,10 +37,17 @@ Summary: %{summary} %pyproject_install %pyproject_save_files %{pypi_name} +%check +# disable IPv6 tests due to failing in Koji/mock +%pytest -v -k "not test_sending_unicast and not test_integration_with_listener_ipv6" + %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %changelog +* Sat Oct 7 2023 Shuo Wang - 0.102.0-1 +- update to 0.102.0 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 0.39.4-4 - Rebuilt for python 3.11 diff --git a/sources b/sources index 5cd77138dccaad020b2c1dad046c00d55c399a2e..584f5e311e4b592a1e49fe769a673362f788b100 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeroconf-0.39.4.tar.gz) = 50934744adafce82100e3d11682df160e2cc8b084fad2971c3c440d14b2e4a1d06da08eab49aba7a333152c93152f7882934e992a21cfbe4c0c02d62ca9a68af +SHA512 (zeroconf-0.102.0.tar.gz) = 877bf194c8aa4832e1ef36d9a1ce08611b5ae8a01dee697ab63d057eb56c9962fb423b6de82406016e67f81d37cb7b661371d84b78e6e91e93c22dc0944da59b