fix %%files harder, .spec cosmetics

epel9
Rex Dieter 3 years ago
parent b21aba997f
commit 69660e5fcc

@ -1,4 +1,3 @@
%undefine __cmake_in_source_build
%global framework kwindowsystem %global framework kwindowsystem
## uncomment to enable bootstrap mode ## uncomment to enable bootstrap mode
@ -72,8 +71,9 @@ developing applications that use %{name}.
%build %build
%{cmake_kf5} \ %cmake_kf5 \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
%cmake_build %cmake_build
@ -99,11 +99,10 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%{_kf5_datadir}/qlogging-categories5/%{framework}.* %{_kf5_datadir}/qlogging-categories5/%{framework}.*
%{_kf5_libdir}/libKF5WindowSystem.so.* %{_kf5_libdir}/libKF5WindowSystem.so.*
%dir %{_kf5_plugindir}/kwindowsystem/ %dir %{_kf5_plugindir}/kwindowsystem/
%{_kf5_plugindir}/kwindowsystem/KF5WindowSystemWaylandPlugin.so #{_kf5_plugindir}/kwindowsystem/KF5WindowSystemWaylandPlugin.so
%{_kf5_plugindir}/kwindowsystem/KF5WindowSystemX11Plugin.so %{_kf5_plugindir}/kwindowsystem/KF5WindowSystemX11Plugin.so
%files devel %files devel
%{_kf5_includedir}/KWindowSystem/ %{_kf5_includedir}/KWindowSystem/
%{_kf5_libdir}/libKF5WindowSystem.so %{_kf5_libdir}/libKF5WindowSystem.so
%{_kf5_libdir}/cmake/KF5WindowSystem/ %{_kf5_libdir}/cmake/KF5WindowSystem/

Loading…
Cancel
Save