Modify the testing method to fix build errors
This commit is contained in:
parent
7e09cc1819
commit
7a7d2cdad7
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-zeroconf
|
Name: python-zeroconf
|
||||||
Version: 0.64.1
|
Version: 0.64.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
URL: https://github.com/jstasiak/python-zeroconf
|
URL: https://github.com/jstasiak/python-zeroconf
|
||||||
@ -24,6 +24,7 @@ BuildRequires: python3-wheel
|
|||||||
BuildRequires: python3-ifaddr
|
BuildRequires: python3-ifaddr
|
||||||
BuildRequires: python3-async-timeout
|
BuildRequires: python3-async-timeout
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-pytest-cov
|
||||||
%description -n python3-zeroconf
|
%description -n python3-zeroconf
|
||||||
Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
||||||
|
|
||||||
@ -34,7 +35,7 @@ Provides: python3-zeroconf-doc
|
|||||||
Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n zeroconf-%{version}
|
%autosetup -n zeroconf-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -68,7 +69,8 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
|
pytest -v -k 'not test_integration_with_listener_ipv6'
|
||||||
|
|
||||||
%files -n python3-zeroconf -f filelist.lst
|
%files -n python3-zeroconf -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
@ -77,6 +79,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 07 2023 yaoxin <yao_xin001@hoperun.com> - 0.64.1-2
|
||||||
|
- Modify the testing method to fix build errors
|
||||||
|
|
||||||
* Tue Jun 06 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.64.1-1
|
* Tue Jun 06 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.64.1-1
|
||||||
- Update package to version 0.64.1
|
- Update package to version 0.64.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user