]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
build: make ninja-build package install always 45677/head
authorDeepika Upadhyay <dupadhya@redhat.com>
Mon, 28 Mar 2022 20:14:48 +0000 (01:44 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Mon, 4 Apr 2022 07:27:27 +0000 (12:57 +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>
ceph.spec.in
debian/control

index 649247308a79f94583889b6f1ffdb74182f8a25e..73bd4dac243ecb31f7056b775b52e34e9984d14c 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 21a85ddc519a6545e33f69e1debe30dff9ae791f..d6ae83ebe83143eb9d7d1fa7e74c704bc1447c8a 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,