]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
build: make ninja-build package install always 45874/head 45875/head
authorDeepika Upadhyay <dupadhya@redhat.com>
Mon, 28 Mar 2022 20:14:48 +0000 (01:44 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Tue, 12 Apr 2022 10:51:18 +0000 (16:21 +0530)
we use ninja build as default build now, having it installed only with
make check enabled may make builds fail, if ran without make check.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit fa7821dd00b1577391db9518bbef0c7618b78ade)

ceph.spec.in
debian/control

index cb3fa2d3677401eff01c04513197e480689979d9..7f272836e9603831c1559f9166a0bf6325ab908c 100644 (file)
@@ -321,6 +321,7 @@ BuildRequires:      libbz2-devel
 BuildRequires: mozilla-nss-devel
 BuildRequires: keyutils-devel
 BuildRequires:  libopenssl-devel
+BuildRequires:  ninja
 BuildRequires:  openldap2-devel
 #BuildRequires:  krb5
 #BuildRequires:  krb5-devel
@@ -340,6 +341,7 @@ BuildRequires:      nss-devel
 BuildRequires: keyutils-libs-devel
 BuildRequires: libibverbs-devel
 BuildRequires:  librdmacm-devel
+BuildRequires:  ninja-build
 BuildRequires:  openldap-devel
 #BuildRequires:  krb5-devel
 BuildRequires:  openssl-devel
@@ -356,7 +358,6 @@ BuildRequires:      golang
 %if 0%{?fedora} || 0%{?rhel}
 BuildRequires: golang-github-prometheus
 BuildRequires: libtool-ltdl-devel
-BuildRequires: ninja-build
 BuildRequires: xmlsec1
 BuildRequires: xmlsec1-devel
 %ifarch x86_64
@@ -376,7 +377,6 @@ BuildRequires:      golang-github-prometheus-prometheus
 BuildRequires: libxmlsec1-1
 BuildRequires: libxmlsec1-nss1
 BuildRequires: libxmlsec1-openssl1
-BuildRequires: ninja
 BuildRequires: python%{python3_pkgversion}-CherryPy
 BuildRequires: python%{python3_pkgversion}-PyJWT
 BuildRequires: python%{python3_pkgversion}-Routes
index 2f68285c7ae12b1beb3f172dd584081c6c9db1a4..42e3ac430a7d24f516817fcba3ae43236764adef 100644 (file)
@@ -78,7 +78,7 @@ Build-Depends: automake,
                libxmlsec1-nss <pkg.ceph.check>,
                libxmlsec1-openssl <pkg.ceph.check>,
                libxmlsec1-dev <pkg.ceph.check>,
-               ninja-build <pkg.ceph.check>,
+               ninja-build,
                nlohmann-json3-dev <pkg.ceph.jaeger>,
                patch,
                pkg-config,