[PATCH rdma-core 3/6] Fix RPM building on FC24

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ninja on RedHat distros is spelled 'ninja-build' for some reason. Missed
two places.

Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
---
 rdma-core.spec        | 2 +-
 redhat/rdma-core.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rdma-core.spec b/rdma-core.spec
index 41ec47e9f86425..2c595a1da07d02 100644
--- a/rdma-core.spec
+++ b/rdma-core.spec
@@ -37,7 +37,7 @@ BuildRequires: ninja,make
 # Ninja was introduced in FC23
 BuildRequires: ninja-build
 %define CMAKE_FLAGS -GNinja
-%define make_jobs ninja -v %{?_smp_mflags}
+%define make_jobs ninja-build -v %{?_smp_mflags}
 %define cmake_install DESTDIR=%{buildroot} ninja-build install
 %else
 # Fallback to make otherwise
diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec
index 39267be2033abc..801bb9410346db 100644
--- a/redhat/rdma-core.spec
+++ b/redhat/rdma-core.spec
@@ -31,7 +31,7 @@ Obsoletes: rdma < %{version}-%{release}
 # Ninja was introduced in FC23
 BuildRequires: ninja-build
 %define CMAKE_FLAGS -GNinja
-%define make_jobs ninja -v %{?_smp_mflags}
+%define make_jobs ninja-build -v %{?_smp_mflags}
 %define cmake_install DESTDIR=%{buildroot} ninja-build install
 %else
 # Fallback to make otherwise
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux