[Bug 1730699] Review Request: copr-messaging - Abstraction for Copr messaging listeners/publishers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebob.m@xxxxxxxxx



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
 - 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 <schlupov@xxxxxxxxxx> - 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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux