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)
This commit is contained in:
Mike FABIAN 2022-11-15 18:57:24 +01:00
parent 430c59d813
commit 15d20ad38b
1 changed files with 13 additions and 1 deletions

View File

@ -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 <ngompa@centosproject.org> - 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 <ngompa@centosproject.org> - 0.15.5-1
- Rebase to 0.15.5
Resolves: rhbz#2134785