[Bug 1244508] Review Request: python-sphinx-theme-alabaster - Configurable sidebar-enabled Sphinx theme

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 30 22:22:23 UTC 2015


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



--- Comment #5 from William Moreno <williamjmorenor at gmail.com> ---
@Julien

There is a update to the Python Packaging wiki, please see:

https://fedoraproject.org/wiki/Packaging:Python#Example_spec_file

Need work:
==========
1- There is not more %files please use %files -n python2-%{pypi_name}
2- Define the python2-%{pypi_name} subpackage, yes now Python 2 and 3 packages
are subpackages for the same spec.
3- Yes you can use %py3_install, %py2_install, %py3_build and %py2_build if you
want to go to epel and F21 you need to define it with %global


Also note this:

"Our method in building from the same code to make the two separate modules is
to keep each build as independent as possible. To do that, we copy the source
tree to python3 so that the python 2 sources are entirely independent from the
python 3 sources."

So I will recomend than you use a diferent directory to build the python 2 and
3 package.

Please update the spec and I will run the review

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


More information about the package-review mailing list