https://bugzilla.redhat.com/show_bug.cgi?id=1973733

Ben Beasley <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Doc Type|---                         |If docs needed, set a value



--- Comment #4 from Ben Beasley <[email protected]> ---
You should (re-)build the documentation in docs/:

> pushd docs
> %{python3} make.py
> popd

and install the result. For example, something like:

> install -t '%{buildroot}%{_pkgdocdir}/html' -D -p -m 0644 \
>     docs/*.html docs/*.css docs/*.png

and then

> %doc %{_pkgdocdir}

in the appropriate %files section. The documentation is small, so you could
choose to put it in a -doc subpackage or just include it with the python3-*
package.

-----

You should also run the tests. This could be as simple as:

> BuildRequires:  python3dist(pytest)

> %check
> %pytest

or, if you prefer not to add a BR on pytest:

> %check
> %{python3} -m unittest discover -v .


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to