[packages/python-zeroconf] - disable python3 here
qboosh
qboosh at pld-linux.org
Sun Mar 26 20:58:29 CEST 2023
commit 9006ed268623dadf07f11ba7bc75a20478583893
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 26 21:00:42 2023 +0200
- disable python3 here
python-zeroconf.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-zeroconf.spec b/python-zeroconf.spec
index aa2c41f..327116e 100644
--- a/python-zeroconf.spec
+++ b/python-zeroconf.spec
@@ -3,7 +3,7 @@
%bcond_with integration # Integration tests work in mock but fail in Koji with PermissionError
%bcond_with tests # unit tests
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module (built from python3-zeroconf.spec)
%define module zeroconf
Summary: Pure Python Multicast DNS Service Discovery Library
@@ -41,6 +41,7 @@ BuildRequires: python3-six
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: sed >= 4.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -71,7 +72,7 @@ przy użyciu Bonjour/Avahi.
# Remove enum-compat from install_requires
# See https://bugzilla.redhat.com/show_bug.cgi?id=1432165
-sed -i '/enum-compat/d' setup.py
+%{__sed} -i '/enum-compat/d' setup.py
%build
%if %{with python2}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-zeroconf.git/commitdiff/9006ed268623dadf07f11ba7bc75a20478583893
More information about the pld-cvs-commit
mailing list