Skip to content

Commit f682b5d

Browse files
committed
build: enforce in-source build for rpmbuild
The out-of-source build is the default mode since Fedora 33 (see [1]). It is easier to disable it rather than fix `make` / `make check` / `make install` invocations in a distribution agnostic way: the new macros introduced by Fedora are not available in CentOS 7. [1]: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds Part of #34
1 parent 943a914 commit f682b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpm/tarantool-smtp.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This package provides SMTP client module for Tarantool.
2121
%setup -q -n %{name}-%{version}
2222

2323
%build
24-
%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo
24+
%cmake -B . -DCMAKE_BUILD_TYPE=RelWithDebInfo
2525
make %{?_smp_mflags}
2626

2727
%check

0 commit comments

Comments
 (0)