7873274
# set upstream name variable
7873274
%global srcname aiodns
7873274
7873274
7873274
7873274
Name:           python-aiodns
7873274
Version:        1.1.1
606498b
Release:        8%{?dist}
7873274
Summary:        Simple DNS resolver for asyncio
7873274
7873274
License:        MIT
7873274
URL:            https://github.com/saghul/aiodns
7873274
Source0:        https://github.com/saghul/%{srcname}/archive/%{srcname}-%{version}.tar.gz
7873274
7873274
BuildArch:      noarch
7873274
BuildRequires:  python3-devel
7873274
BuildRequires:  python3-pycares
7873274
7873274
%description
7873274
aiodns provides a simple way for doing asynchronous DNS resolutions
7873274
with a synchronous looking interface by using pycares.
7873274
7873274
7873274
%package     -n python3-%{srcname}
7873274
Summary:        Simple DNS resolver for asyncio
7873274
BuildArch:      noarch
7873274
Requires:       python3-pycares
7873274
%{?python_provide:%python_provide python3-%{srcname}}
7873274
7873274
%description -n python3-%{srcname}
7873274
aiodns provides a simple way for doing asynchronous DNS resolutions
7873274
with a synchronous looking interface by using pycares.
7873274
7873274
7873274
7873274
%prep
7873274
%autosetup -n %{srcname}-%{srcname}-%{version}
7873274
7873274
7873274
%build
7873274
7873274
%py3_build
7873274
7873274
7873274
%install
7873274
# Must do the python3 install first because the scripts in /usr/bin are
7873274
# overwritten with every setup.py install (and we want the python2 version
7873274
# to be the default for now).
7873274
%py3_install
7873274
7873274
7873274
%check
7873274
7873274
##%{__python3} setup.py test
7873274
7873274
7873274
7873274
%files -n python3-%{srcname}
7873274
%license LICENSE
7873274
%doc README.rst ChangeLog
7873274
# For noarch packages: sitelib
7873274
%{python3_sitelib}/%{srcname}-%{version}-*.egg-info/
7873274
%{python3_sitelib}/%{srcname}/
7873274
7873274
7873274
7873274
%changelog
606498b
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-8
606498b
- Rebuilt for Python 3.8
606498b
4b85cbb
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
4b85cbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4b85cbb
edb1351
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
edb1351
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
edb1351
24ac8c6
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-5
24ac8c6
- Subpackage python2-aiodns has been removed
24ac8c6
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
24ac8c6
7ae6eb1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
7ae6eb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7ae6eb1
ee3eb1e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-3
ee3eb1e
- Rebuilt for Python 3.7
ee3eb1e
83312ba
* Wed Apr 18 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 1.1.1-2
83312ba
- Update Python 2 dependency declarations to new packaging standards
83312ba
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
83312ba
7873274
* Wed Apr  4 2018 Matthieu Saulnier <fantom@fedoraproject.org> - 1.1.1-1
7873274
- Initial package