2dcffe6
2dcffe6
%{!?_licensedir: %global license %%doc}
2dcffe6
2dcffe6
%if 0%{?rhel} && 0%{?rhel} <= 6
2dcffe6
%{!?__python2:        %global __python2 /usr/bin/python2}
2dcffe6
%endif
2dcffe6
31ff699
%global modname twiggy
31ff699
%global distname Twiggy
052d24d
%global pypi_name Twiggy
31ff699
31ff699
Name:               python-twiggy
e81a433
Version:            0.5.1
0c3179e
Release:            4%{?dist}
31ff699
Summary:            A Pythonic logger
31ff699
31ff699
License:            BSD
31ff699
URL:                http://pypi.python.org/pypi/Twiggy
052d24d
Source0:            %{pypi_source}
31ff699
31ff699
BuildArch:          noarch
31ff699
da259bb
BuildRequires:      python3-sphinx
31ff699
2dcffe6
BuildRequires:      python3-devel
2dcffe6
BuildRequires:      python3-setuptools
2dcffe6
BuildRequires:      python3-sphinx
2dcffe6
31ff699
%description
31ff699
Twiggy is a Pythonic logger.
31ff699
2dcffe6
You should use Twiggy because it is awesome. For more information, read the
2dcffe6
`documentation <http://twiggy.wearpants.org>`_ or `see this blog post
2dcffe6
<http://blog.wearpants.org/meet-twiggy>`_.
2dcffe6
2dcffe6
%package -n python3-%{modname}
2dcffe6
Summary:            A Pythonic logger
7483c52
%{?python_provide:%python_provide python3-%{modname}}
2dcffe6
2dcffe6
%description -n python3-%{modname}
2dcffe6
Twiggy is a Pythonic logger.
2dcffe6
2dcffe6
You should use Twiggy because it is awesome. For more information, read the
2dcffe6
`documentation <http://twiggy.wearpants.org>`_ or `see this blog post
2dcffe6
<http://blog.wearpants.org/meet-twiggy>`_.
2dcffe6
31ff699
%prep
2dcffe6
%autosetup -n %{distname}-%{version}
31ff699
31ff699
# Remove bundled egg-info in case it exists
31ff699
rm -rf %{distname}.egg-info
31ff699
31ff699
%build
2dcffe6
%py3_build
31ff699
31ff699
%install
2dcffe6
%py3_install
31ff699
31ff699
# There are errors in the test suite.
31ff699
#%%check
31ff699
#./scripts/run-twiggy-tests.sh
31ff699
2dcffe6
%files -n python3-%{modname}
2dcffe6
%doc README.rst
2dcffe6
%license LICENSE
2dcffe6
%{python3_sitelib}/%{modname}/
2dcffe6
%{python3_sitelib}/%{distname}-%{version}-*
2dcffe6
31ff699
%changelog
0c3179e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
0c3179e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
0c3179e
862b447
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
862b447
- Second attempt - Rebuilt for
862b447
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
862b447
6e5a4f5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.1-2
6e5a4f5
- Rebuilt for Python 3.10
6e5a4f5
e81a433
* Sat May 22 2021 Kevin Fenzi <kevin@scrye.com> - 0.5.1-1
e81a433
- Update to 0.5.1. Fixes rhbz#1960045
e81a433
c861bfe
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
c861bfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c861bfe
052d24d
* Sun Oct 04 2020 Kevin Fenzi <kevin@scrye.com> - 0.5.0-1
052d24d
- Update to 0.5.0. Fixes bug #1844516
052d24d
46862b3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-21
46862b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
46862b3
5b20af2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.7-20
5b20af2
- Rebuilt for Python 3.9
5b20af2
d121537
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-19
d121537
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d121537
de3e7b8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.7-18
de3e7b8
- Rebuilt for Python 3.8.0rc1 (#1748018)
de3e7b8
64a90de
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.7-17
64a90de
- Rebuilt for Python 3.8
64a90de
971eac3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-16
971eac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
971eac3
977ed3f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-15
977ed3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
977ed3f
da259bb
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.7-14
da259bb
- Python2 binary package has been removed
da259bb
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
da259bb
7ad9e11
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-13
7ad9e11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7ad9e11
b67c0f4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.7-12
b67c0f4
- Rebuilt for Python 3.7
b67c0f4
d934dae
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.7-11
d934dae
- Update Python 2 dependency declarations to new packaging standards
d934dae
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d934dae
4bd9e54
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-10
4bd9e54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4bd9e54
f6c2813
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-9
f6c2813
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f6c2813
33eef7a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-8
33eef7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
33eef7a
b713624
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.7-7
b713624
- Rebuild for Python 3.6
b713624
5b9169e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-6
5b9169e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5b9169e
333f422
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-5
333f422
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
333f422
7483c52
* Sat Nov 21 2015 Kalev Lember <klember@redhat.com> - 0.4.7-4
7483c52
- Fix an unexpanded macro
7483c52
2dcffe6
* Mon Nov 16 2015 Ralph Bean <rbean@redhat.com> - 0.4.7-3
2dcffe6
- Python3 subpackage and modernize python macros.
2dcffe6
06443fd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-2
06443fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
06443fd
efd737f
* Fri Mar 13 2015 Ralph Bean <rbean@redhat.com> - 0.4.7-1
efd737f
- new version
efd737f
4190a63
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-3
4190a63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4190a63
31ff699
* Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.4.5-2
31ff699
- Modernize python rpm macros as per review feedback.
31ff699
31ff699
* Thu Oct 31 2013 Ralph Bean <rbean@redhat.com> - 0.4.5-1
31ff699
- initial package for Fedora