From 15d20ad38b85c98b0dd74a782cce296407fc343b Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 15 Nov 2022 18:57:24 +0100 Subject: [PATCH] Create symlinks manually to make it build Resolves: rhbz#2134785 (the symlinks were not created because of reverting the patch to upgrade to Meson 0.62) --- appstream.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/appstream.spec b/appstream.spec index 5da33ff..8fe7565 100644 --- a/appstream.spec +++ b/appstream.spec @@ -5,7 +5,7 @@ Summary: Utilities to generate, maintain and access the AppStream database Name: appstream Version: 0.15.5 -Release: 1%{?dist} +Release: 2%{?dist} # lib LGPLv2+, tools GPLv2+ License: GPLv2+ and LGPLv2+ @@ -110,6 +110,13 @@ Requires: pkgconfig(Qt5Core) %install %{meson_install} +# create symlinks manually because with the patch to +mkdir -p %{buildroot}/%{_datadir}/gtk-doc/html +pushd %{buildroot}/%{_datadir}/gtk-doc/html +ln -s ../../../share/doc/appstream/html/api appstream +ln -s ../../../share/doc/appstream/html/compose-api appstream-compose +popd + mkdir -p %{buildroot}/var/cache/app-info/{icons,gv,xmls} touch %{buildroot}/var/cache/app-info/cache.watch @@ -207,6 +214,11 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \ %{_libdir}/libAppStreamQt.so %changelog +* Tue Nov 15 2022 Neal Gompa - 0.15.5-2 +- Create symlinks manually to make it build + (the symlinks were not created because of reverting the patch to + upgrade to Meson 0.62) + * Fri Oct 14 2022 Neal Gompa - 0.15.5-1 - Rebase to 0.15.5 Resolves: rhbz#2134785