Update to new out-of-source build mechanism
This commit is contained in:
parent
fbc6e6b7ed
commit
bfaedd3ba3
1 changed files with 7 additions and 3 deletions
|
|
@ -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 {} ';'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue