Compare commits

...

No commits in common. "a9" and "a8" have entirely different histories.
a9 ... a8

3 changed files with 38 additions and 109 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/zeroconf-0.39.4.tar.gz
SOURCES/zeroconf-0.27.0.tar.gz

View File

@ -1 +1 @@
95a1a649822476fce78a0fb379d61a0c823eddc2 SOURCES/zeroconf-0.39.4.tar.gz
763210d7659a2348756aa9c4fb60ff39ca78588d SOURCES/zeroconf-0.27.0.tar.gz

View File

@ -1,142 +1,71 @@
Name: python-zeroconf
Version: 0.39.4
Release: 2%{?dist}
%{?python_enable_dependency_generator}
%global pypi_name zeroconf
Name: python-%{pypi_name}
Version: 0.27.0
Release: 1%{?dist}
Summary: Pure Python Multicast DNS Service Discovery Library
License: LGPL-2.1-or-later
URL: https://github.com/jstasiak/python-zeroconf
Source0: %{url}/archive/%{version}/zeroconf-%{version}.tar.gz
License: LGPLv2
URL: https://github.com/jstasiak/%{name}
Source0: %{url}/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-pytest
BuildRequires: python3-pytest-asyncio
BuildRequires: python3-pytest-xdist
BuildRequires: python3dist(ifaddr)
# Integration tests work in mock but fail in Koji with PermissionError
%bcond_with integration
%description
A pure Python implementation of multicast DNS service discovery
supporting Bonjour/Avahi.
%package -n python3-zeroconf
Summary: %{summary}
%package -n python3-%{pypi_name}
Summary: Pure Python 3 Multicast DNS Service Discovery Library
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-zeroconf
%description -n python3-%{pypi_name}
A pure Python 3 implementation of multicast DNS service discovery
supporting Bonjour/Avahi.
%prep
%autosetup -p1
%generate_buildrequires
%pyproject_buildrequires
%autosetup
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files zeroconf
%py3_install
%check
# IPv6 tests fail in Koji/mock, test_sending_unicast uses IPv6
%pytest -v -k "not test_sending_unicast and not test_integration_with_listener_ipv6"
# IPv6 tests fail in Koji/mock
# test_ptr_optimization fails in Koji
%{__python3} -m pytest -n auto -v \
%if %{with integration}
-k "not v6" \
%else %{without integration}
-k "not integration and not test_ptr_optimization and not v6" \
%endif
%{pypi_name}/test*
%files -n python3-zeroconf -f %{pyproject_files}
%files -n python3-%{pypi_name}
%license COPYING
%doc README.rst
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.39.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 30 2022 Karolina Surma <ksurma@redhat.com> - 0.39.4-1
- Update to 0.39.4
Resolves: rhbz#2116022
* Thu Jul 28 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.38.7-1
- Update to 0.38.7
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.38.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.38.4-2
- Rebuilt for Python 3.11
* Tue Apr 26 2022 Lumír Balhar <lbalhar@redhat.com> - 0.38.4-1
- Update to 0.38.4
Resolves: rhbz#2059530
* Wed Feb 02 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.38.3-1
- Update to 0.38.3
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.37.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 30 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.37.0-1
- Update to 0.37.0
* Sat Oct 23 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.36.9-1
- Update to 0.36.9
* Sun Sep 19 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.36.5-1
- Update to 0.36.5
* Mon Aug 09 2021 Miro Hrončok <mhroncok@redhat.com> - 0.33.4-1
- Update to 0.33.4
- Fixes: rhbz#1974240
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 07 2021 Python Maint <python-maint@redhat.com> - 0.30.0-2
- Rebuilt for Python 3.10
* Sat Jun 05 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.30.0-1
- Update to 0.30
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.29.0-2
- Rebuilt for Python 3.10
* Thu Apr 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.29.0-1
- Update to 0.29.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 10 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.8-1
- Update to 0.28.8
* Wed Nov 11 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.6-1
- Update to 0.28.6
* Fri Sep 11 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.5-1
- Update to 0.28.5
* Wed Sep 09 2020 Yatin Karel <ykarel@redhat.com> - 0.28.4-1
- Update to 0.28.4 (#1874041)
* Thu Aug 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.2-1
- Update to 0.28.2
* Mon Aug 24 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.1-1
- Update to 0.28.1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.28.0-1
- Update to 0.28.0
* Fri Jun 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.27.1-1
- Update to 0.27.1
* Sat May 30 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.27.0-1
- Update to 0.27.0