Skip to content

Commit 769bc72

Browse files
committed
rpm: update spec
Starting with fedora 33, the cmake build strategy has been changed to "out-of-source builds" by default (see [1]). Let's add support for the new behavior. [1] https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
1 parent 2ce9359 commit 769bc72

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rpm/tarantool-queue.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ A collection of persistent queue implementations for Tarantool.
2525
#
2626
%define luapkgdir %{_datadir}/tarantool/queue/
2727
%install
28-
%make_install
28+
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 8
29+
%cmake_install
30+
%else
31+
%make_install
32+
%endif
2933

3034
%files
3135
%dir %{luapkgdir}

0 commit comments

Comments
 (0)