URL: https://github.com/freeipa/freeipa/pull/1976 Author: tiran Title: #1976: Make Python 2 build dependency optional Action: opened
PR body: """ The specfile now uses three variables to determinate how to handle Python support.
with_python2: build python2-ipa* packages with_python3: build python3-ipa* packages with_default_python: use Python 3 or 2 for commands and packages
"with_default_python=3" is the default build flavor. "with_python3=1" implies "with_default_python=2". Python 2 packages are still built on Fedora by default.
The patch also cleans up and fixes additional issues:
* makeapi/makeaci require Python 3 * remove checks for unsupported distros like F27 * sort dependencies and remove duplicates * remove python3-memcached dependency * remove svrcore-devel dependency * don't assume that gcc, make, and pkgconfig are provided by default * fix packaging bug with ipa-test-* commands. Unversioned ipa-run-test were packages with Python 2 RPMs although they had a Python 3 shebang.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1565263 Fixes: https://pagure.io/freeipa/issue/7500 Signed-off-by: Christian Heimes cheimes@redhat.com """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1976/head:pr1976 git checkout pr1976
URL: https://github.com/freeipa/freeipa/pull/1976 Author: tiran Title: #1976: Make Python 2 build dependency optional Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1976/head:pr1976 git checkout pr1976
freeipa-devel@lists.fedorahosted.org