URL:
https://github.com/freeipa/freeipa/pull/2162
Author: tiran
Title: #2162: Improve specfile and build dependencies for F29 and RHEL
Action: opened
PR body:
"""
## Use python2_sitelib in spec file
%{python_sitelib} has been deprecated in favor of %{python2_sitelib}.
F29 rawhide no longer defines %{python_sitelib}.
## Update builddep command in BUILD.txt
It's no longer necessary to specify "with_python3" to get Python 3
dependencies.
python3-tox pulls in Python 2.6, 3.3, 3.4, 3.5, and pypy as weak
dependency. Use --setopt=install_weak_deps=False to make a build
environment leaner.
## Add more RHEL customizations to spec file
- Handle name / alt name for Fedora and RHEL. On Fedora, the packages
are named "freeipa-*" with alternative names "ipa-*". On RHEL it
is
the other way around.
- Don't build ipatests on RHEL.
- Use latest versions of KRB5 on RHEL
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2162/head:pr2162
git checkout pr2162