Blame ratelimitingfilter.spec

50c7366
# Created by pyp2rpm-3.2.2
50c7366
%global pypi_name ratelimitingfilter
50c7366
50c7366
Name:           python-%{pypi_name}
d9dfafd
Version:        1.1
Martin Kutlak fc8e1fa
Release:        9%{?dist}
50c7366
Summary:        A rate limiting filter for the Python logging system
50c7366
50c7366
License:        MIT
50c7366
URL:            https://github.com/wkeeling/ratelimitingfilter
50c7366
Source0:        https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
50c7366
BuildArch:      noarch
50c7366
50c7366
BuildRequires:  python3-devel
50c7366
BuildRequires:  python3-mock
50c7366
BuildRequires:  python3-setuptools
50c7366
50c7366
%description
50c7366
The RateLimitingFilter is a filter for the Python logging system that allows
50c7366
you to restrict the rate at which messages can pass through your logging
50c7366
handlers. The filter can be useful if you're using a handler such as Python's
50c7366
logging.handlers.SMTPHandler to send error notification emails.
50c7366
Error notification emails provide a useful means of keeping an eye on.
50c7366
50c7366
%package -n     python3-%{pypi_name}
50c7366
Summary:        %{summary}
50c7366
%{?python_provide:%python_provide python3-%{pypi_name}}
50c7366
50c7366
%description -n python3-%{pypi_name}
50c7366
The RateLimitingFilter is a filter for the Python logging system that allows
50c7366
you to restrict the rate at which messages can pass through your logging
50c7366
handlers. The filter can be useful if you're using a handler such as Python's
50c7366
logging.handlers.SMTPHandler to send error notification emails.
50c7366
Error notification emails provide a useful means of keeping an eye on.
50c7366
50c7366
%prep
50c7366
%autosetup -n %{pypi_name}-%{version}
50c7366
# Remove bundled egg-info
50c7366
rm -rf %{pypi_name}.egg-info
50c7366
50c7366
%build
50c7366
%py3_build
50c7366
50c7366
%install
50c7366
# Must do the subpackages' install first because the scripts in /usr/bin are
50c7366
# overwritten with every setup.py install.
50c7366
%py3_install
50c7366
50c7366
%files -n python3-%{pypi_name}
d9dfafd
%doc README.rst
50c7366
%{python3_sitelib}/%{pypi_name}
Martin Kutlak fc8e1fa
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
50c7366
50c7366
%changelog
Martin Kutlak fc8e1fa
* Tue Nov 24 2020 Martin Kutlak <mkfedora@outlook.com> - 1.1-9
Martin Kutlak fc8e1fa
- Drop python2
Martin Kutlak fc8e1fa
- Fix BZ#1900528
Martin Kutlak fc8e1fa
433a692
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-8
433a692
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
433a692
dd0ca0b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1-7
dd0ca0b
- Rebuilt for Python 3.9
dd0ca0b
874570f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
874570f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
874570f
b8db4e2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1-5
b8db4e2
- Rebuilt for Python 3.8.0rc1 (#1748018)
b8db4e2
83ee8b7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1-4
83ee8b7
- Rebuilt for Python 3.8
83ee8b7
5745796
* Thu Aug 01 2019 Martin Kutlak <mkutlak@redhat.com> - 1.1-3
5745796
- Drop python2 from epel8
5745796
4219078
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
4219078
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4219078
d9dfafd
* Wed Mar 06 2019 Martin Kutlak <mkutlak@redhat.com> - 1.1-1
d9dfafd
- Update to upstream version 1.1.
d9dfafd
- Remove check section as it is not provided in sources.
d9dfafd
4da0556
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-5
4da0556
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4da0556
9e1b69d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-4
9e1b69d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9e1b69d
dec2374
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6-3
dec2374
- Rebuilt for Python 3.7
dec2374
50c7366
* Wed Mar 14 2018 Martin Kutlak <mkutlak@redhat.com> - 0.6-1
b2f97e6
- Drop python2 subpackage from Fedora 29+
b2f97e6
b2f97e6
* Wed Mar 14 2018 Martin Kutlak <mkutlak@redhat.com> - 0.6-1
50c7366
- Initial package.