On Tue, 2016-03-22 at 21:23 -0700, Dave Johansen wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1313796
> This request to include a Python 3 subpackage for breathe made me realize
> that I probably should have named the package python-breathe instead of
> breathe. Is that correct? If so, what's the right way to fix this?

The name of the .src.rpm isn't really super important and changing it
is a bit of a pain (you have to do a package rename request which is
more or less like going through package review again). However, it
*would* be good to follow the latest Python binary package naming
recommendations, which are to have 'python2-breathe' and 'python3-
breathe' and use the python_provides macro so that right now the
python2-breathe package will provide 'python-breathe', but that can
potentially change in future (that's what the macro is meant to take
care of).

The example spec in https://fedoraproject.org/wiki/Packaging:Python is
really what all python specs should look like, ideally. The only
wrinkle is if you want to build your package for EPEL, especially EPEL
6; a lot of the recommended macros don't exist there so you will either
have to maintain that branch separately in git, or have a bunch of
conditionals in the spec to handle the missing macros for EPEL 6.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to