Bootstrap

Temporarily install previous soname to break circular dependency in
libgdata.
This commit is contained in:
Kalev Lember 2023-06-19 19:23:19 +02:00
parent 51aac80886
commit 88fc54170f

View File

@ -4,7 +4,7 @@
Name: gcr
Version: 4.1.0
Release: 1%{?dist}
Release: 1%{?dist}~bootstrap
Summary: A library for bits of crypto UI and parsing
License: LGPLv2+
@ -31,6 +31,7 @@ BuildRequires: /usr/bin/gpg2
BuildRequires: /usr/bin/ssh-add
BuildRequires: /usr/bin/ssh-agent
BuildRequires: /usr/bin/xsltproc
BuildRequires: gcr-libs
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: /usr/bin/gpg2
@ -79,6 +80,14 @@ developing applications that use %{name}.
%meson_install
%find_lang gcr-4
# Temporarily install previous soname
cp -a \
%{_libdir}/libgck-2.so.0.0.0 \
%{_libdir}/libgck-2.so.1.92.0 \
%{_libdir}/libgcr-4.so.0.0.0 \
%{_libdir}/libgcr-4.so.3.92.0 \
$RPM_BUILD_ROOT%{_libdir}
%post
%systemd_user_post gcr-ssh-agent.service
@ -101,6 +110,10 @@ developing applications that use %{name}.
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Gck-2.typelib
%{_libdir}/girepository-1.0/Gcr-4.typelib
%{_libdir}/libgck-2.so.0.0.0
%{_libdir}/libgck-2.so.1.92.0
%{_libdir}/libgcr-4.so.0.0.0
%{_libdir}/libgcr-4.so.3.92.0
%{_libdir}/libgck-2.so.2*
%{_libdir}/libgcr-4.so.4*