disabling docs for flatpak packages

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

@ -1,4 +1,5 @@
%global framework kconfig
%{!?docs: %global docs 1}
# uncomment to enable bootstrap mode
#global bootstrap 1
@ -13,7 +14,9 @@
%endif
%endif
#endif
%global docs 1
%if 0%{?flatpak}
%global docs 0
%endif
%global tests 1
%endif
@ -22,7 +25,7 @@
Name: kf5-%{framework}
Version: 5.80.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with advanced configuration system
License: GPLv2+ and LGPLv2+ and MIT
@ -153,7 +156,11 @@ export PYTHONPATH
%endif
%cmake_kf5 \
%if 0%{?flatpak}
%{?docs:-DBUILD_QCH:BOOL=OFF} \
%else
%{?docs:-DBUILD_QCH:BOOL=ON} \
%endif
%{?ninja:-G Ninja} \
%{?tests:-DBUILD_TESTING:BOOL=ON}
@ -228,6 +235,9 @@ make test %{?_smp_mflags} -C %{_target_platform} ARGS="--output-on-failure --tim
%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
- 5.80.0

Loading…
Cancel
Save