Improve compatibility with new CMake macro

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent e7bb36e4f8
commit a9abbcfeee
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

@ -1,3 +1,4 @@
%undefine __cmake_in_source_build
Name: khelpcenter
Summary: Show documentation for KDE applications
# Override khelpcenter subpackage from kde-runtime-15.04 (no longer built)
@ -57,16 +58,12 @@ Requires: kf5-filesystem
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%{cmake_kf5}
%cmake_build
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%cmake_install
# Provide khelpcenter service for KDE 3 applications
mkdir -p %{buildroot}%{_datadir}/services

Loading…
Cancel
Save