From ec2bbd4801ffc046b7227f8ba223fe9baa1c1b98 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Jan 13 2020 22:40:20 +0000 Subject: Minor documentation improvements. --- diff --git a/python-j1m.sphinxautozconfig.rpmlintrc b/python-j1m.sphinxautozconfig.rpmlintrc new file mode 100644 index 0000000..345ebd8 --- /dev/null +++ b/python-j1m.sphinxautozconfig.rpmlintrc @@ -0,0 +1,5 @@ +# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON +# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors + +# The dictionary is missing some technical terms +addFilter(r'W: spelling-error .* zconfigsectionkeys') diff --git a/python-j1m.sphinxautozconfig.spec b/python-j1m.sphinxautozconfig.spec index 56558ca..cae9448 100644 --- a/python-j1m.sphinxautozconfig.spec +++ b/python-j1m.sphinxautozconfig.spec @@ -1,4 +1,3 @@ - %global srcname j1m.sphinxautozconfig Name: python-%{srcname} @@ -23,8 +22,6 @@ rendering documentation for ZConfig section key. %package -n python3-%{srcname} Summary: Sphinx support for ZConfig -Requires: python3dist(docutils) - %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -37,6 +34,7 @@ cp -p %{SOURCE1} . %build %py3_build +rst2html --no-datestamp README.rst README.html %install %py3_install @@ -46,7 +44,7 @@ cp -p %{SOURCE1} . #%%{__python3} setup.py test %files -n python3-%{srcname} -%doc README.rst +%doc README.html %license COPYING %{python3_sitelib}/j1m/ %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/