Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cac9facb1f
commit
3e33a24873
|
@ -1,3 +1,4 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Summary: A viewer for comic book archives
|
||||
Name: qcomicbook
|
||||
|
@ -51,16 +52,12 @@ menu option of QComicBook.
|
|||
|
||||
|
||||
%build
|
||||
mkdir -p %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
%{cmake}
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform}
|
||||
%cmake_install
|
||||
|
||||
# Register as an application to be visible in the software center
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue