mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -28,7 +28,7 @@ steps:
|
||||
builddep:
|
||||
- rm -rf /var/cache/dnf/*
|
||||
- "dnf makecache || :"
|
||||
- dnf builddep -y ${builddep_opts} -D "with_wheels 1" --spec freeipa.spec.in --best --allowerasing
|
||||
- dnf builddep -y ${builddep_opts} -D "with_wheels 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
|
||||
- dnf install -y gdb
|
||||
cleanup:
|
||||
- chown -R ${uid}:${gid} ${container_working_dir}
|
||||
|
@@ -30,7 +30,7 @@ steps:
|
||||
builddep:
|
||||
- rm -rf /var/cache/dnf/*
|
||||
- "dnf makecache || :"
|
||||
- dnf builddep -y ${builddep_opts} --spec freeipa.spec.in --best --allowerasing
|
||||
- dnf builddep -y ${builddep_opts} --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
|
||||
- dnf install -y gdb
|
||||
cleanup:
|
||||
- chown -R ${uid}:${gid} ${container_working_dir}
|
||||
|
@@ -7,7 +7,7 @@ For more information, see http://www.freeipa.org/page/Build
|
||||
|
||||
The quickest way to get the dependencies needed for building is:
|
||||
|
||||
# dnf builddep -b -D "with_python3 1" -D "with_wheels 1" -D "with_lint 1" --spec freeipa.spec.in --best --allowerasing
|
||||
# dnf builddep -b -D "with_wheels 1" -D "with_lint 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
|
||||
|
||||
TIP: For building with latest dependencies for freeipa master enable copr repo:
|
||||
|
||||
|
Reference in New Issue
Block a user