Blame python-aiosnmp.spec

d1a8db0
%global pypi_name aiosnmp
d1a8db0
d1a8db0
Name:           python-%{pypi_name}
d1a8db0
Version:        0.2.2
2338826
Release:        4%{?dist}
d1a8db0
Summary:        Asyncio Python SNMP client
d1a8db0
d1a8db0
License:        MIT
d1a8db0
URL:            https://github.com/hh-h/aiosnmp
d1a8db0
Source0:        %{pypi_source}
d1a8db0
Source1:        https://raw.githubusercontent.com/hh-h/aiosnmp/master/LICENSE
d1a8db0
BuildArch:      noarch
d1a8db0
d1a8db0
%description
d1a8db0
aiosnmp is an asynchronous SNMP client for use with asyncio.
d1a8db0
d1a8db0
%package -n     python3-%{pypi_name}
d1a8db0
Summary:        %{summary}
d1a8db0
d1a8db0
BuildRequires:  python3-devel
d1a8db0
BuildRequires:  python3-pytest
d1a8db0
BuildRequires:  python3-pytest-runner
d1a8db0
BuildRequires:  python3-setuptools
d1a8db0
%{?python_provide:%python_provide python3-%{pypi_name}}
d1a8db0
d1a8db0
%description -n python3-%{pypi_name}
d1a8db0
aiosnmp is an asynchronous SNMP client for use with asyncio.
d1a8db0
d1a8db0
%prep
d1a8db0
%autosetup -n %{pypi_name}-%{version}
d1a8db0
rm -rf %{pypi_name}.egg-info
d1a8db0
cp -a %{SOURCE1} LICENSE
d1a8db0
d1a8db0
%build
d1a8db0
%py3_build
d1a8db0
d1a8db0
%install
d1a8db0
%py3_install
d1a8db0
d1a8db0
%files -n python3-%{pypi_name}
d1a8db0
%doc README.md
d1a8db0
%license LICENSE
d1a8db0
%{python3_sitelib}/%{pypi_name}/
d1a8db0
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info
d1a8db0
d1a8db0
%changelog
2338826
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.2.2-4
2338826
- Rebuilt for Python 3.9
2338826
67cfcc0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
67cfcc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
67cfcc0
d1a8db0
* Tue Jan 21 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.2-2
d1a8db0
- Add LICENSE file (rhbz#1790082)
d1a8db0
d1a8db0
* Wed Jan 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.2-1
d1a8db0
- Initial package for Fedora