https://bugzilla.redhat.com/show_bug.cgi?id=1304467 Haïkel Guémar <karlthered@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Haïkel Guémar <karlthered@xxxxxxxxx> --- 1. python-xxx => python2-xxx 2. please move all requires under the correct subpackage (or 1. won't work) 3. both packages ships the same CLI (python3 version), so they will conflicts and the one in python2 package won't work. Here are snippets to fix this (as upstream has not switched officially to python3, I'd like to keep python2 version default) %{!?python2_shortver: %global python2_shortver %(%{__python2} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} %{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} (...) %install %if 0%{?with_python3} %py3_install pushd %{buildroot}%{_bindir} mv aodh %python3-aodh for i in aodh-{3,%{?python3_shortver}}; do ln -s python3-aodh $i done popd %endif %py2_install pushd %{buildroot}%{_bindir} mv aodh %python3-aodh for i in aodh-{2,%{?python2_shortver}}; do ln -s aodh $i done popd E -- 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 http://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx