2021-12-13 21:40:12 +03:00
|
|
|
Vendor: Microsoft Corporation
|
2024-02-06 23:14:23 +03:00
|
|
|
Distribution: Azure Linux
|
2021-12-13 21:40:12 +03:00
|
|
|
# set upstream name variable
|
|
|
|
%global srcname aiodns
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-aiodns
|
|
|
|
Version: 2.0.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Simple DNS resolver for asyncio
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/saghul/aiodns
|
|
|
|
Source0: https://github.com/saghul/%{srcname}/archive/%{srcname}-%{version}.tar.gz#/python-%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-pycares
|
|
|
|
|
|
|
|
%description
|
|
|
|
aiodns provides a simple way for doing asynchronous DNS resolutions
|
|
|
|
with a synchronous looking interface by using pycares.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: Simple DNS resolver for asyncio
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: python3-pycares
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
aiodns provides a simple way for doing asynchronous DNS resolutions
|
|
|
|
with a synchronous looking interface by using pycares.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# Unit tests perform DNS resolution and requires active Internet
|
|
|
|
# connection: disabling
|
|
|
|
##%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst ChangeLog
|
|
|
|
# For noarch packages: sitelib
|
|
|
|
%{python3_sitelib}/%{srcname}-%{version}-*.egg-info/
|
|
|
|
%{python3_sitelib}/%{srcname}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.0.0-4
|
|
|
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
* Sun Aug 25 2019 Matthieu Saulnier <fantom@fedoraproject.org> - 2.0.0-1
|
|
|
|
- Bump version to 2.0.0
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-8
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-5
|
|
|
|
- Subpackage python2-aiodns has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-3
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
* Wed Apr 18 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 1.1.1-2
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
* Wed Apr 4 2018 Matthieu Saulnier <fantom@fedoraproject.org> - 1.1.1-1
|
|
|
|
- Initial package
|