From 774a8b9b363d20178de15ea9ceb6fe2f3aa6524e1e3f21857f7f883e5c96dc9b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 19 Jul 2024 23:59:10 +0000 Subject: [PATCH] - Clean up SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-htmlhelp?expand=0&rev=20 --- python-sphinxcontrib-htmlhelp.changes | 5 +++++ python-sphinxcontrib-htmlhelp.rpmlintrc | 2 ++ python-sphinxcontrib-htmlhelp.spec | 11 ++++++----- 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 python-sphinxcontrib-htmlhelp.rpmlintrc diff --git a/python-sphinxcontrib-htmlhelp.changes b/python-sphinxcontrib-htmlhelp.changes index 1d3163a..856e822 100644 --- a/python-sphinxcontrib-htmlhelp.changes +++ b/python-sphinxcontrib-htmlhelp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 19 23:59:01 UTC 2024 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Sun Jan 14 10:47:30 UTC 2024 - Dirk Müller diff --git a/python-sphinxcontrib-htmlhelp.rpmlintrc b/python-sphinxcontrib-htmlhelp.rpmlintrc new file mode 100644 index 0000000..b2b55f2 --- /dev/null +++ b/python-sphinxcontrib-htmlhelp.rpmlintrc @@ -0,0 +1,2 @@ +addFilter("hidden-file-or-dir /usr/lib/python.*/sphinxcontrib/htmlhelp/locales/\.tx") +addFilter("file-not-in-%lang /usr/lib/python.*/site-packages/sphinxcontrib/htmlhelp/locales/.*\.mo") diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index d17e81f..25218fd 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-sphinxcontrib-htmlhelp # # Copyright (c) 2024 SUSE LLC # @@ -16,7 +16,6 @@ # -%{?sle15_python_module_pythons} %define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" @@ -26,14 +25,16 @@ %define psuffix %{nil} %bcond_with test %endif +%{?sle15_python_module_pythons} Name: python-sphinxcontrib-htmlhelp%{psuffix} Version: 2.0.5 Release: 0 -Summary: Sphinx contrib extension to generate html help files +Summary: Sphinx extension to generate HTML help files License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp -Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz +Source99: python-sphinxcontrib-htmlhelp.rpmlintrc BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} @@ -49,7 +50,7 @@ BuildRequires: %{python_module sphinxcontrib-htmlhelp >= %{version}} %python_subpackages %description -Html help generating extension. +sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. %prep %autosetup -p1 -n sphinxcontrib_htmlhelp-%{version}