From 4cb39ba09b21800f34124661313414236f08b5a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 3 Nov 2021 11:00:49 +0100 Subject: [PATCH] Remove the empty python-mako-doc package --- python-mako.spec | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/python-mako.spec b/python-mako.spec index cb787b7..e0d9491 100644 --- a/python-mako.spec +++ b/python-mako.spec @@ -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 - 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 - 1.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild