Update to new out-of-source build mechanism

This commit is contained in:
Neal Gompa 2020-07-18 14:41:09 -04:00
commit bfaedd3ba3

View file

@ -1,3 +1,6 @@
# Force out of source build
%undefine __cmake_in_source_build
Name: ampache_browser
# Lib and several dirs use this derived name. A change of this name
@ -44,12 +47,13 @@ developing applications that use %{name}.
%global __cmake %{_bindir}/cmake3
%endif
%cmake .
%make_build
%cmake
%cmake_build
%install
%make_install
%cmake_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'