Commit 5f3e928a authored by Sébastien Blin's avatar Sébastien Blin

fedora: use dnf builddep instead yum-builddep

Change-Id: Iab011abd51859cdcfb30663fb8bd2fd44aa71bcd
parent 9499b72a
FROM fedora:26
RUN dnf clean all
RUN dnf install -y yum-utils rpmdevtools
RUN dnf install -y dnf-command\(builddep\) rpmdevtools
RUN dnf clean all
RUN dnf upgrade -y && \
......@@ -15,7 +15,7 @@ RUN dnf upgrade -y && \
cmake \
speexdsp-devel \
pulseaudio-libs-devel \
libcanberra-devel \
libcanberra-devel \
libsamplerate-devel \
libtool \
dbus-devel \
......
FROM fedora:27
RUN dnf clean all
RUN dnf install -y yum-utils rpmdevtools
RUN dnf install -y dnf-command\(builddep\) rpmdevtools
RUN dnf clean all
RUN dnf upgrade -y && \
......@@ -15,7 +15,7 @@ RUN dnf upgrade -y && \
cmake \
speexdsp-devel \
pulseaudio-libs-devel \
libcanberra-devel \
libcanberra-devel \
libsamplerate-devel \
libtool \
dbus-devel \
......
FROM fedora:28
RUN dnf clean all
RUN dnf install -y yum-utils rpmdevtools
RUN dnf install -y dnf-command\(builddep\) rpmdevtools
RUN dnf clean all
RUN dnf upgrade -y && \
......
......@@ -33,7 +33,7 @@ sed -i "s/RELEASE_VERSION/${RELEASE_VERSION}/g" ring.spec
rpmdev-bumpspec --comment="Automatic nightly release" --userstring="Jenkins <ring@lists.savoirfairelinux.net>" ring.spec
# install build deps
yum-builddep -y ring.spec || echo "ignoring yum-builddep failure"
dnf builddep -y ring.spec || echo "ignoring dnf builddep failure"
# place the source
mkdir -p /root/rpmbuild/SOURCES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment