Remove the empty python-mako-doc package

This commit is contained in:
Miro Hrončok 2021-11-03 11:00:49 +01:00
parent 8c761a1a45
commit 4cb39ba09b

View File

@ -3,9 +3,8 @@ Version: 1.1.4
Release: 6%{?dist}
BuildArch: noarch
# Mostly MIT, but _ast_util.py is Python licensed.
# The documentation contains javascript for search licensed BSD or GPLv2
License: (MIT and Python) and (BSD or GPLv2)
# Mostly MIT, but _ast_util.py is Python licensed
License: MIT and Python
Summary: Mako template library for Python
URL: http://www.makotemplates.org/
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
@ -35,6 +34,7 @@ Summary: %{summary}
Recommends: python3-beaker
Obsoletes: python2-mako < 1.1.0-3
Obsoletes: python-mako-doc < 1.1.4-6
%{?python_provide:%python_provide python3-mako}
@ -43,14 +43,6 @@ Obsoletes: python2-mako < 1.1.0-3
This package contains the mako module built for use with python3.
%package doc
Summary: Documentation for the Mako template library for Python
Suggests: python3-mako = %{version}-%{release}
%description doc %_description
This package contains documentation in text and HTML formats.
%prep
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g")
@ -70,9 +62,6 @@ mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{pyt
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render-3
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render
# These are supporting files for building the docs. No need to ship
rm -rf doc/build
%check
pytest-3
@ -87,13 +76,11 @@ pytest-3
%{python3_sitelib}/mako/
%{python3_sitelib}/Mako-*.egg-info/
%files doc
%doc doc
%changelog
* Fri Oct 29 2021 Miro Hrončok <mhroncok@redhat.com> - 1.1.4-6
- Don't build the package as 1.1.4.dev0
- Remove the empty python-mako-doc package
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild