From a5730382467d3460b83a20699308a81aa7c05120470c7470cf85e527781372ad Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Thu, 15 Dec 2016 15:28:40 +0000 Subject: [PATCH] - Add fix-appstream-detection.patch: fix AppstreamQt vs AppStreamQt detection OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/frameworkintegration?expand=0&rev=128 --- fix-appstream-detection.patch | 13 +++++++++++++ frameworkintegration.changes | 6 ++++++ frameworkintegration.spec | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 fix-appstream-detection.patch diff --git a/fix-appstream-detection.patch b/fix-appstream-detection.patch new file mode 100644 index 0000000..932ea7c --- /dev/null +++ b/fix-appstream-detection.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e20a47b..4e1c9a9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,7 +39,7 @@ find_package(KF5WidgetsAddons ${KF5_DEP_VERSION} REQUIRED) + find_package(KF5Package ${KF5_DEP_VERSION} REQUIRED) + + find_package(packagekitqt5) +-find_package(AppStreamQt 0.10) ++find_package(AppstreamQt 0.10) + + add_subdirectory(src) + add_subdirectory(autotests) diff --git a/frameworkintegration.changes b/frameworkintegration.changes index c826081..55f39b5 100644 --- a/frameworkintegration.changes +++ b/frameworkintegration.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 15 15:27:31 UTC 2016 - lbeltrame@kde.org + +- Add fix-appstream-detection.patch: fix AppstreamQt vs + AppStreamQt detection + ------------------------------------------------------------------- Sun Dec 4 01:54:53 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/frameworkintegration.spec b/frameworkintegration.spec index c2ab21c..33680ef 100644 --- a/frameworkintegration.spec +++ b/frameworkintegration.spec @@ -48,6 +48,8 @@ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf +#PATCH-FIX-OPENSUSE: fix-appstream-detection.patch - fix AppStreamQt detection (Appstream vs AppStream) +Patch0: fix-appstream-detection.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -100,6 +102,7 @@ Applications do not need to link to this directly. Development files %prep %setup -q +%patch0 -p1 %build %cmake_kf5 -d build