[kdelibs] fix build when disabling plasma_packagekit feature
Rex Dieter
rdieter at fedoraproject.org
Sun Mar 8 19:05:28 UTC 2015
commit c88f7f4469d97b8d019cb01ad4519c79b3b44d94
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sun Mar 8 14:05:01 2015 -0500
fix build when disabling plasma_packagekit feature
kdelibs.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/kdelibs.spec b/kdelibs.spec
index a454a1c..bf3c5fa 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -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}/*
More information about the scm-commits
mailing list