From 3b6d4ef4a6a797f4114604042ffebe083d02d69d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 27 Dec 2016 21:30:04 +0100 Subject: [PATCH] - updated to 0.10.5 (note: qt library API/ABI break) - removed obsolete libstemmer patch --- AppStream-libstemmer.patch | 10 ---------- AppStream.spec | 16 +++++++--------- 2 files changed, 7 insertions(+), 19 deletions(-) delete mode 100644 AppStream-libstemmer.patch diff --git a/AppStream-libstemmer.patch b/AppStream-libstemmer.patch deleted file mode 100644 index 9e72ca6..0000000 --- a/AppStream-libstemmer.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- AppStream-0.10.1/src/CMakeLists.txt.orig 2016-09-16 13:16:16.000000000 +0200 -+++ AppStream-0.10.1/src/CMakeLists.txt 2016-10-05 17:15:06.617983378 +0200 -@@ -101,6 +101,7 @@ - ${GIO2_INCLUDE_DIRS} - ${LIBXML2_INCLUDE_DIR} - ${YAML_INCLUDE_DIR} -+ /usr/include/libstemmer - ) - - add_definitions("-DAS_COMPILATION") diff --git a/AppStream.spec b/AppStream.spec index a98c0c5..7ef485c 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -8,13 +8,12 @@ Summary: AppStream-Core library and tools Summary(pl.UTF-8): Biblioteka i narzędzia AppStream-Core Name: AppStream -Version: 0.10.1 +Version: 0.10.5 Release: 1 License: LGPL v2.1+ Group: Libraries Source0: https://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz -# Source0-md5: a07a54f47a8bc5fafb7d87e86888e019 -Patch0: %{name}-libstemmer.patch +# Source0-md5: a58b021aa86723118feb62960f844392 URL: https://www.freedesktop.org/wiki/Distributions/AppStream/ BuildRequires: cmake >= 3.2.0 BuildRequires: gettext-tools @@ -134,7 +133,6 @@ API języka Vala do biblioteki AppStream. %prep %setup -q -%patch0 -p1 %build install -d build @@ -199,14 +197,14 @@ rm -rf $RPM_BUILD_ROOT %if %{with qt} %files qt %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libAppstreamQt.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libAppstreamQt.so.1 +%attr(755,root,root) %{_libdir}/libAppStreamQt.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libAppStreamQt.so.2 %files qt-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libAppstreamQt.so -%{_includedir}/AppstreamQt -%{_libdir}/cmake/AppstreamQt +%attr(755,root,root) %{_libdir}/libAppStreamQt.so +%{_includedir}/AppStreamQt +%{_libdir}/cmake/AppStreamQt %endif %files -n gettext-its-metainfo -- 2.43.0