fix build when disabling plasma_packagekit feature
This commit is contained in:
parent
0f9ce49aad
commit
c88f7f4469
@ -27,6 +27,10 @@
|
||||
%define cmake_pkg cmake
|
||||
%define upower 1
|
||||
%endif
|
||||
# enable plasma/packagekit feature
|
||||
%if 0%{?fedora} < 22
|
||||
%define plasma_packagekit 1
|
||||
%endif
|
||||
# enable tests (disabled by default)
|
||||
#global tests 1
|
||||
|
||||
@ -449,7 +453,7 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage
|
||||
%patch090 -p1 -R -b .return-not-break.-copy-paste-error
|
||||
%patch091 -p1 -R -b .coding-style-fixes.patch
|
||||
%patch092 -p1 -R -b .return-application-icons-properly
|
||||
%if 0%{?fedora} < 22
|
||||
%if 0%{?plasma_packagekit}
|
||||
%patch093 -p1 -R -b .turn-the-packagekit-support-feature-off-by-default
|
||||
%endif
|
||||
|
||||
@ -761,7 +765,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
%{_mandir}/man1/preparetips.1*
|
||||
%{_kde4_bindir}/kconfig_compiler4
|
||||
%{_kde4_bindir}/makekdewidgets4
|
||||
%if 0%{?plasma_packagekit}
|
||||
%{_kde4_bindir}/plasma-dataengine-depextractor
|
||||
%endif
|
||||
%{_kde4_bindir}/kde4-doxygen.sh
|
||||
%{_kde4_appsdir}/cmake/
|
||||
%{_kde4_includedir}/*
|
||||
|
Loading…
Reference in New Issue
Block a user