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

Robert-André Mauchin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #1 from Robert-André Mauchin <[email protected]> ---
 - Your Py 3 subpackage should contain the Python provide macro:

%package -n python3-%name
Summary: %summary
Provides: %name = %version
%{?python_provide:%python_provide python3-%{name}}

See
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_the_python_provide_macro

 - You must install the LICENSE file with %license in %files

%files -n python3-%name
%license LICENSE

 - You should include the README.md file as well with %doc

%files -n python3-%name
%license LICENSE
%doc README.md

 - There are Sphinx docs provided: build them and install them with %doc

BuildRequires:  python3-sphinx

[…]

# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}

[…]

%files -n python3-%name
%license LICENSE
%doc README.md html

 - Add your own changelog entry with your name and email

* Wed Jul 17 2019 Silvie Chlupova <[email protected]> - 0.1-1
- Initial package

-- 
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]

Reply via email to