From a402c9212027f2754373975659e6aaa94c15ac07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 2 Jun 2021 13:56:15 +0200 Subject: [PATCH] Also remove RPATH from /usr/bin/gpgme-json https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild + /usr/lib/rpm/check-rpaths ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. ... ERROR 0001: file '/usr/bin/gpgme-json' contains a standard runpath '/usr/lib64' in [/usr/lib64] --- gpgme.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gpgme.spec b/gpgme.spec index f44f9aa..cc063f0 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -9,7 +9,7 @@ Name: gpgme Summary: GnuPG Made Easy - high level crypto API Version: 1.15.1 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ URL: https://gnupg.org/related_software/gpgme/ @@ -155,6 +155,7 @@ mv %{buildroot}%{_includedir}/gpgme.h \ install -m644 -p -D %{SOURCE2} %{buildroot}%{_includedir}/gpgme.h %endif chrpath -d %{buildroot}%{_bindir}/%{name}-tool +chrpath -d %{buildroot}%{_bindir}/%{name}-json chrpath -d %{buildroot}%{_libdir}/lib%{name}pp.so* chrpath -d %{buildroot}%{_libdir}/libq%{name}.so* @@ -211,6 +212,9 @@ make check %{python3_sitearch}/gpg/ %changelog +* Wed Jun 02 2021 Miro HronĨok - 1.15.1-3 +- Also remove RPATH from /usr/bin/gpgme-json + * Tue Jan 26 2021 Fedora Release Engineering - 1.15.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild