]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec,install-deps: use golang-github-prometheus for promtools 40300/head
authorKefu Chai <kchai@redhat.com>
Mon, 22 Mar 2021 06:07:54 +0000 (14:07 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 22 Mar 2021 06:13:17 +0000 (14:13 +0800)
instead of installing docker for using promtools, install
golang-github-prometheus.

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
install-deps.sh

index a9fb3bea2c093998e28eeb11192897af757dec29..4197d5ee5b361b45d7256dc1e3628a2f99664c0b 100644 (file)
@@ -354,6 +354,7 @@ BuildRequires:      lz4-devel >= 1.7
 # distro-conditional make check dependencies
 %if 0%{with make_check}
 %if 0%{?fedora} || 0%{?rhel}
+BuildRequires: golang-github-prometheus
 BuildRequires: libtool-ltdl-devel
 BuildRequires: ninja-build
 BuildRequires: xmlsec1
@@ -371,6 +372,7 @@ BuildRequires:      python%{python3_pkgversion}-werkzeug
 BuildRequires: python%{python3_pkgversion}-pyOpenSSL
 %endif
 %if 0%{?suse_version}
+BuildRequires: golang-github-prometheus-prometheus
 BuildRequires: libxmlsec1-1
 BuildRequires: libxmlsec1-nss1
 BuildRequires: libxmlsec1-openssl1
index 7911bcb405ba9234dc4ebeb20d42d7d8fdc6ef20..a5e19998f17b107d9961c1a3b14c35a389726cd0 100755 (executable)
@@ -348,9 +348,6 @@ else
         case "$ID" in
             fedora)
                 $SUDO dnf install -y dnf-utils
-                $SUDO dnf install -y docker-ce docker-ce-cli containerd.io
-                $SUDO systemctl start docker
-                $SUDO systemctl enable docker
                 ;;
             centos|rhel|ol|virtuozzo)
                 MAJOR_VERSION="$(echo $VERSION_ID | cut -d. -f1)"