df017ba
# Created by pyp2rpm-3.3.2
df017ba
%global pypi_name towncrier
df017ba
df017ba
%global common_description %{expand:
df017ba
Towncrier is a utility to produce useful, summarised news files for your 
df017ba
project. Rather than reading the Git history as some newer tools to produce it,
df017ba
or having one single file which developers all write to, towncrier reads "news 
df017ba
fragments" which contain information useful to end users.}
df017ba
df017ba
Name:           python-%{pypi_name}
af08048
Version:        19.2.0
422097c
Release:        10%{?dist}
df017ba
Summary:        Building newsfiles for your project
df017ba
df017ba
License:        MIT
df017ba
URL:            https://github.com/hawkowl/towncrier
7b5cc0c
Source0:        %pypi_source
df017ba
BuildArch:      noarch
df017ba
 
df017ba
BuildRequires:  python3-devel
df017ba
BuildRequires:  python3dist(click)
df017ba
BuildRequires:  python3dist(incremental)
df017ba
BuildRequires:  python3dist(jinja2)
df017ba
BuildRequires:  python3dist(setuptools)
df017ba
BuildRequires:  python3dist(toml)
6eafc6e
e64a550
%bcond_without tests
6eafc6e
%if %{with tests}
af08048
BuildRequires:  python3dist(twisted)
af08048
BuildRequires:  git-core
6eafc6e
%endif
df017ba
df017ba
%{?python_enable_dependency_generator}
df017ba
df017ba
%description
df017ba
%{common_description}
df017ba
df017ba
df017ba
%package -n     python3-%{pypi_name}
df017ba
Summary:        %{summary}
df017ba
%{?python_provide:%python_provide python3-%{pypi_name}}
dc6c7a2
Provides:       %{pypi_name} = %{version}-%{release}
df017ba
df017ba
%description -n python3-%{pypi_name}
df017ba
%{common_description}
df017ba
df017ba
df017ba
%prep
df017ba
%autosetup -n %{pypi_name}-%{version}
df017ba
# Remove bundled egg-info
df017ba
rm -rf %{pypi_name}.egg-info
df017ba
df017ba
df017ba
%build
df017ba
%py3_build
df017ba
df017ba
df017ba
%install
df017ba
%py3_install
df017ba
6eafc6e
%if %{with tests}
af08048
%check
af08048
PYTHONPATH=%{buildroot}%{python3_sitelib}:$PYTHONPATH  %{_bindir}/trial towncrier
6eafc6e
%endif
af08048
df017ba
df017ba
%files -n python3-%{pypi_name}
df017ba
%license LICENSE
df017ba
%doc README.rst
df017ba
%{_bindir}/towncrier
df017ba
%{python3_sitelib}/%{pypi_name}
3b9bd98
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
df017ba
df017ba
df017ba
%changelog
422097c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-10
422097c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
422097c
12185e1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-9
12185e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
12185e1
0d1f6ea
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-8
0d1f6ea
- Rebuilt for Python 3.9
0d1f6ea
93a416b
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-7
93a416b
- Bootstrap for Python 3.9
93a416b
5d10f27
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-6
5d10f27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5d10f27
af7a70a
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-5
af7a70a
- Rebuilt for Python 3.8.0rc1 (#1748018)
af7a70a
e64a550
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-4
e64a550
- Rebuilt for Python 3.8
e64a550
d01d704
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.0-3
6eafc6e
- Bootstrap for Python 3.8
d01d704
e449a64
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-2
e449a64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e449a64
af08048
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m@gmail.com> - 19.2.0-1
af08048
- Release 19.2.0
af08048
- Run tests
af08048
dc6c7a2
* Tue Feb 26 2019 Miro Hrončok <mhroncok@redhat.com> - 17.8.0-6
dc6c7a2
- Provide towncrier
dc6c7a2
cadcce1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 17.8.0-5
cadcce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cadcce1
7b5cc0c
* Wed Sep 12 2018 Robert-André Mauchin <zebob.m@gmail.com> - 17.8.0-4
7b5cc0c
- Remove Python 2 subpackage
7b5cc0c
f24233f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.8.0-3
f24233f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f24233f
f7d1f98
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 17.8.0-2
f7d1f98
- Rebuilt for Python 3.7
f7d1f98
df017ba
* Mon May 14 2018 Robert-André Mauchin <zebob.m@gmail.com> - 17.8.0-1
df017ba
- Initial package.