Make git a build requirement

FreeIPA uses git in its build process. In the past git was automatically
pulled in. On Fedora 33 builds are failing because git is missing.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Christian Heimes committed 2020-09-23 14:49:56 +02:00
1 parent 80fca8d701
commit 644bd0e46b
5 files changed
+5 -1

No files matched your search

+1
View File
@@ -269,6 +269,7 @@ BuildRequires: python3-m2r
# Build dependencies for lint and fastcheck
#
%if 0%{?with_lint}
BuildRequires: git
BuildRequires: jsl
BuildRequires: nss-tools
BuildRequires: rpmlint
@@ -9,6 +9,7 @@ RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
&& dnf install -y systemd \
&& dnf install -y \
firewalld \
git \
glibc-langpack-fr \
glibc-langpack-en \
iptables \
@@ -11,6 +11,7 @@ RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
&& dnf install -y systemd \
&& dnf install -y \
firewalld \
git \
glibc-langpack-fr \
glibc-langpack-en \
iptables \
@@ -11,6 +11,7 @@ steps:
autoconf \
rpm-build \
gettext-devel \
git \
automake \
libtool \
docker \
@@ -1,6 +1,6 @@
steps:
- script: |
set -e
sudo dnf -y install nss-tools python3-pip
sudo dnf -y install nss-tools python3-pip git
python3 -m pip install --user --upgrade pip setuptools pycodestyle
displayName: Install Tox prerequisites