disabling docs for flatpak packages

epel8
Onuralp SEZER 4 years ago
parent 85e0386486
commit 171c157bee

@ -1,4 +1,5 @@
%global framework kconfig %global framework kconfig
%{!?docs: %global docs 1}
# uncomment to enable bootstrap mode # uncomment to enable bootstrap mode
#global bootstrap 1 #global bootstrap 1
@ -13,7 +14,9 @@
%endif %endif
%endif %endif
#endif #endif
%global docs 1 %if 0%{?flatpak}
%global docs 0
%endif
%global tests 1 %global tests 1
%endif %endif
@ -22,7 +25,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.80.0 Version: 5.80.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with advanced configuration system Summary: KDE Frameworks 5 Tier 1 addon with advanced configuration system
License: GPLv2+ and LGPLv2+ and MIT License: GPLv2+ and LGPLv2+ and MIT
@ -153,7 +156,11 @@ export PYTHONPATH
%endif %endif
%cmake_kf5 \ %cmake_kf5 \
%if 0%{?flatpak}
%{?docs:-DBUILD_QCH:BOOL=OFF} \
%else
%{?docs:-DBUILD_QCH:BOOL=ON} \ %{?docs:-DBUILD_QCH:BOOL=ON} \
%endif
%{?ninja:-G Ninja} \ %{?ninja:-G Ninja} \
%{?tests:-DBUILD_TESTING:BOOL=ON} %{?tests:-DBUILD_TESTING:BOOL=ON}
@ -228,6 +235,9 @@ make test %{?_smp_mflags} -C %{_target_platform} ARGS="--output-on-failure --tim
%changelog %changelog
* Sat Mar 20 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org> - 5.80.0-2
- disabling docs for flatpak packages
* Tue Mar 09 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.80.0-1 * Tue Mar 09 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.80.0-1
- 5.80.0 - 5.80.0

Loading…
Cancel
Save