Skip to content

Commit c16bbb6

Browse files
committed
Fix shim
1 parent 18f8f95 commit c16bbb6

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,10 @@
4444

4545
# RHEL <= 8 and Amazon Linux 2 don't provide cmake* macros. They provide
4646
# cmake3* macros.
47-
%define arrow_cmake_builddir \
48-
%{?__cmake_builddir:%__cmake_builddir} \
49-
%{!?__cmake_builddir:build}
50-
%define arrow_cmake \
51-
%{?cmake:%cmake} \
52-
%{!?cmake:%cmake3 -S . -B build}
53-
%define arrow_cmake_build \
54-
%{?cmake_build:%cmake_build} \
55-
%{!?cmake_build:ninja -C build --verbose}
56-
%define arrow_cmake_install \
57-
%{?cmake_install:%cmake_install} \
58-
%{!?cmake_install:DESTDIR="%{buildroot}" ninja -C build install}
47+
%define arrow_cmake_builddir %{?__cmake_builddir:%__cmake_builddir}%{!?__cmake_builddir:build}
48+
%define arrow_cmake %{?cmake:%cmake}%{!?cmake:%cmake3 -S . -B %{arrow_cmake_builddir}}
49+
%define arrow_cmake_build %{?cmake_build:%cmake_build}%{!?cmake_build:ninja -C %{arrow_cmake_builddir} --verbose}
50+
%define arrow_cmake_install %{?cmake_install:%cmake_install}%{!?cmake_install:DESTDIR="%{buildroot}" ninja -C %{arrow_cmake_builddir} install}
5951

6052
%define use_boost (!%{is_amazon_linux})
6153
%define use_flight (%{rhel} >= 8)

0 commit comments

Comments
 (0)