|
 |
604283 |
%global pypi_name daiquiri
|
|
 |
604283 |
|
|
 |
604283 |
# Tests require python-json-logger package
|
|
 |
604283 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1460757
|
|
 |
604283 |
|
|
 |
604283 |
Name: python-%{pypi_name}
|
|
 |
604283 |
Version: 1.5.0
|
|
 |
604283 |
Release: 10%{?dist}
|
|
 |
604283 |
Summary: Library to configure Python logging easily
|
|
 |
604283 |
|
|
 |
604283 |
License: ASL 2.0
|
|
 |
604283 |
URL: https://github.com/jd/daiquiri
|
|
 |
604283 |
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
 |
604283 |
BuildArch: noarch
|
|
 |
604283 |
|
|
 |
604283 |
|
|
 |
604283 |
%description
|
|
 |
604283 |
The %{pypi_name} library provides an easy way to configure Python logging.
|
|
 |
604283 |
It also provides some custom formatters and handlers.
|
|
 |
604283 |
|
|
 |
604283 |
%package -n python3-%{pypi_name}
|
|
 |
604283 |
Summary: Library to configure Python logging easily
|
|
 |
604283 |
|
|
 |
604283 |
BuildRequires: python3-devel
|
|
 |
604283 |
BuildRequires: python3-pbr
|
|
 |
604283 |
BuildRequires: python3-setuptools
|
|
 |
604283 |
BuildRequires: python3-testrepository
|
|
 |
604283 |
BuildRequires: python3-testtools
|
|
 |
604283 |
BuildRequires: python3-six >= 1.9.0
|
|
 |
604283 |
BuildRequires: python3-json-logger
|
|
 |
604283 |
Requires: python3-json-logger
|
|
 |
604283 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
604283 |
|
|
 |
604283 |
%description -n python3-%{pypi_name}
|
|
 |
604283 |
The %{pypi_name} library provides an easy way to configure Python logging.
|
|
 |
604283 |
It also provides some custom formatters and handlers.
|
|
 |
604283 |
|
|
 |
604283 |
|
|
 |
604283 |
%package -n python-%{pypi_name}-doc
|
|
 |
604283 |
Summary: daiquiri documentation
|
|
 |
604283 |
|
|
 |
604283 |
BuildRequires: python3-sphinx
|
|
 |
604283 |
|
|
 |
604283 |
%description -n python-%{pypi_name}-doc
|
|
 |
604283 |
Documentation for daiquiri
|
|
 |
604283 |
|
|
 |
604283 |
|
|
 |
604283 |
%prep
|
|
 |
604283 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
604283 |
# Remove bundled egg-info
|
|
 |
604283 |
rm -rf %{pypi_name}.egg-info
|
|
 |
604283 |
|
|
 |
604283 |
%build
|
|
 |
604283 |
%py3_build
|
|
 |
604283 |
# generate html docs
|
|
 |
604283 |
sphinx-build doc/source html
|
|
 |
604283 |
# remove the sphinx-build leftovers
|
|
 |
604283 |
rm -rf html/.{doctrees,buildinfo}
|
|
 |
604283 |
|
|
 |
604283 |
%install
|
|
 |
604283 |
%py3_install
|
|
 |
604283 |
|
|
 |
604283 |
%check
|
|
 |
604283 |
PYTHON=python3 %{__python3} setup.py test
|
|
 |
604283 |
|
|
 |
604283 |
%files -n python3-%{pypi_name}
|
|
 |
604283 |
%license LICENSE
|
|
 |
604283 |
%doc README.rst
|
|
 |
604283 |
%{python3_sitelib}/%{pypi_name}
|
|
 |
604283 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
 |
604283 |
|
|
 |
604283 |
%files -n python-%{pypi_name}-doc
|
|
 |
604283 |
%doc html
|
|
 |
604283 |
|
|
 |
604283 |
%changelog
|
|
 |
604283 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-10
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-9
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-8
|
|
 |
604283 |
- Rebuilt for Python 3.9
|
|
 |
604283 |
|
|
 |
604283 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-7
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-6
|
|
 |
604283 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
604283 |
|
|
 |
604283 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-5
|
|
 |
604283 |
- Rebuilt for Python 3.8
|
|
 |
604283 |
|
|
 |
604283 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.0-2
|
|
 |
604283 |
- Subpackage python2-daiquiri has been removed
|
|
 |
604283 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
604283 |
|
|
 |
604283 |
* Sun Sep 16 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.5.0-1
|
|
 |
604283 |
- Upstream 1.5.0
|
|
 |
604283 |
- Fix FTFBS (RHBZ#1605649)
|
|
 |
604283 |
|
|
 |
604283 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
|
|
 |
604283 |
- Rebuilt for Python 3.7
|
|
 |
604283 |
|
|
 |
604283 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
 |
604283 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
604283 |
|
|
 |
604283 |
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-2
|
|
 |
604283 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
604283 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
604283 |
|
|
 |
604283 |
* Wed Jul 26 2017 Pradeep Kilambi <pkilambi@redhat.com> - 1.2.1-1
|
|
 |
604283 |
- Rebase to 1.2.1
|
|
 |
604283 |
|
|
 |
604283 |
* Mon Jun 12 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.1.0-1
|
|
 |
604283 |
- Upstream 0.1.0
|
|
 |
604283 |
|
|
 |
604283 |
* Thu May 25 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.0.1-1
|
|
 |
604283 |
- Initial package.
|