Blame python-aiozeroconf.spec

43ef65c
%global pypi_name aiozeroconf
43ef65c
43ef65c
Name:           python-%{pypi_name}
43ef65c
Version:        0.1.8
0d97f8d
Release:        8%{?dist}
43ef65c
Summary:        An asyncio/pure Python implementation of mDNS service discovery
43ef65c
43ef65c
License:        LGPLv2+
43ef65c
URL:            https://github.com/frawau/aiozeroconf
43ef65c
Source0:        https://github.com/frawau/aiozeroconf/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
43ef65c
BuildArch:      noarch
43ef65c
43ef65c
%description
43ef65c
A pure Python Multicast DNS Service Discovery Library.
43ef65c
43ef65c
%package -n python3-%{pypi_name}
43ef65c
Summary:        %{summary}
43ef65c
43ef65c
BuildRequires:  python3-devel
43ef65c
BuildRequires:  python3-Cython
43ef65c
%{?python_provide:%python_provide python3-%{pypi_name}}
43ef65c
43ef65c
%description -n python3-%{pypi_name}
43ef65c
A pure Python Multicast DNS Service Discovery Library.
43ef65c
43ef65c
%prep
43ef65c
%autosetup -n %{pypi_name}-%{version}
43ef65c
sed -i -e '/^#!\//, 1d' {aiozeroconf/*.py,examples/*.py}
43ef65c
chmod -x examples/*.py
43ef65c
43ef65c
%build
43ef65c
%py3_build
43ef65c
43ef65c
%install
43ef65c
%py3_install
43ef65c
43ef65c
%files -n python3-%{pypi_name}
43ef65c
%doc README.rst examples/
43ef65c
%license COPYING
43ef65c
%{python3_sitelib}/*.egg-info
43ef65c
%{python3_sitelib}/%{pypi_name}/
43ef65c
43ef65c
%changelog
0d97f8d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-8
0d97f8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0d97f8d
c7aeae9
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.8-7
c7aeae9
- Rebuilt for Python 3.9
c7aeae9
c8914a5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-6
c8914a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c8914a5
56aac93
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.8-5
56aac93
- Rebuilt for Python 3.8.0rc1 (#1748018)
56aac93
106cbe9
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.8-4
106cbe9
- Rebuilt for Python 3.8
106cbe9
2b71797
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-3
2b71797
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2b71797
43ef65c
* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.8-2
43ef65c
- Add license and docs (rhbz#1713906)
43ef65c
43ef65c
* Sun May 12 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.8-1
43ef65c
- Initial package for Fedora