From: Arkadiusz Miśkiewicz Date: Tue, 9 Dec 2014 21:54:57 +0000 (+0100) Subject: - we want absolute path; https://bugs.kde.org/show_bug.cgi?id=341719 X-Git-Tag: auto/th/kf5-ki18n-5.4.0-0.1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=00010a0fbe4f032e74d48a84c053668e1c112990;p=packages%2Fkf5-ki18n.git - we want absolute path; https://bugs.kde.org/show_bug.cgi?id=341719 --- diff --git a/kf5-ki18n-absolute.patch b/kf5-ki18n-absolute.patch new file mode 100644 index 0000000..d01ba9c --- /dev/null +++ b/kf5-ki18n-absolute.patch @@ -0,0 +1,10 @@ +--- ki18n-5.4.0/KF5I18nConfig.cmake.in~ 2014-11-02 13:12:17.000000000 +0100 ++++ ki18n-5.4.0/KF5I18nConfig.cmake.in 2014-12-09 22:52:23.157399839 +0100 +@@ -1,6 +1,6 @@ + @PACKAGE_INIT@ + +-set(KI18N_MODULE_DIR "${PACKAGE_PREFIX_DIR}/@CMAKECONFIG_INSTALL_DIR@") ++set(KI18N_MODULE_DIR "@CMAKECONFIG_INSTALL_DIR@") + + include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nTargets.cmake") + include("${CMAKE_CURRENT_LIST_DIR}/KF5I18NMacros.cmake") diff --git a/kf5-ki18n.spec b/kf5-ki18n.spec index e3da369..9bffe2b 100644 --- a/kf5-ki18n.spec +++ b/kf5-ki18n.spec @@ -14,6 +14,7 @@ License: LGPL v2.1+ Group: X11/Libraries Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz # Source0-md5: b340728a206fc4529f93ff73d2168b41 +Patch0: kf5-ki18n-absolute.patch URL: http://www.kde.org/ BuildRequires: Qt5Concurrent-devel >= %{qtver} BuildRequires: Qt5Core-devel >= %{qtver} @@ -55,6 +56,7 @@ Pliki nagłówkowe dla programistów używających %{kfname}. %prep %setup -q -n %{kfname}-%{version} +%patch0 -p1 %build install -d build