Skip to content
Snippets Groups Projects
Unverified Commit 5f3e928a authored by Sébastien Blin's avatar Sébastien Blin
Browse files

fedora: use dnf builddep instead yum-builddep

Change-Id: Iab011abd51859cdcfb30663fb8bd2fd44aa71bcd
parent 9499b72a
No related branches found
No related tags found
No related merge requests found
FROM fedora:26 FROM fedora:26
RUN dnf clean all 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 clean all
RUN dnf upgrade -y && \ RUN dnf upgrade -y && \
......
FROM fedora:27 FROM fedora:27
RUN dnf clean all 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 clean all
RUN dnf upgrade -y && \ RUN dnf upgrade -y && \
......
FROM fedora:28 FROM fedora:28
RUN dnf clean all 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 clean all
RUN dnf upgrade -y && \ RUN dnf upgrade -y && \
......
...@@ -33,7 +33,7 @@ sed -i "s/RELEASE_VERSION/${RELEASE_VERSION}/g" ring.spec ...@@ -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 rpmdev-bumpspec --comment="Automatic nightly release" --userstring="Jenkins <ring@lists.savoirfairelinux.net>" ring.spec
# install build deps # 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 # place the source
mkdir -p /root/rpmbuild/SOURCES mkdir -p /root/rpmbuild/SOURCES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment