dvratil pushed to kde-l10n (master). "Fix build (only disable the kcontrol folder, don't remove it)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 13:11:53 UTC 2015


>From 3f14be654e2824a9f8a570f12039ad1ceb60be13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Vr=C3=A1til?= <dvratil at redhat.com>
Date: Wed, 1 Apr 2015 15:11:36 +0200
Subject: Fix build (only disable the kcontrol folder, don't remove it)


diff --git a/kde-l10n.spec b/kde-l10n.spec
index 13d0d7b..80641f1 100644
--- a/kde-l10n.spec
+++ b/kde-l10n.spec
@@ -848,7 +848,9 @@ for i in $(cat %{SOURCE1000}) ; do
       rm -fv 4/$i/$j/messages/kde-runtime/kio_{applications,remote}.po
       rm -fv 4/$i/$j/messages/kdelibs/{kcm_baloofile,plasma_runner_baloosearchrunner}.po
       rm -fv 4/$i/$j/messages/applications/useraccount.po
-      rm -fv 4/$i/$j/docs/kde-runtime/kcontrol
+      if [ -e 4/$i/$j/docs/kde-runtime/CMakeLists.txt ]; then
+        sed -i -e 's/add_subdirectory( kcontrol )/#add_subdirectory(kcontrol)/g' 4/$i/$j/docs/kde-runtime/CMakeLists.txt
+      fi
       # Provided by kdeplasma-addons
       sed -i -e 's/add_subdirectory( *kdeplasma-addons *)/#add_subdirectory(kdeplasma-addons)/g' 4/$i/$j/messages/CMakeLists.txt
       # Provided by kf5-kfilemetada
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/kde-l10n.git/commit/?h=master&id=3f14be654e2824a9f8a570f12039ad1ceb60be13


More information about the scm-commits mailing list