From f20cd204ca41b61e00807a90af1f8a7b88e14d65 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Thu, 18 Mar 2021 11:08:49 +0800 Subject: [PATCH] delete rpath in some binaries --- tss2.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tss2.spec b/tss2.spec index e346c4d..d7c95be 100644 --- a/tss2.spec +++ b/tss2.spec @@ -7,7 +7,7 @@ Name: tss2 Version: 1470 -Release: 1%{?dist} +Release: 2 Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities License: BSD @@ -15,7 +15,7 @@ URL: http://sourceforge.net/projects/ibmtpm20tss/ Source0: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz Patch1: flags-fixup.patch -BuildRequires: gcc +BuildRequires: gcc chrpath BuildRequires: help2man BuildRequires: openssl-devel Requires: openssl @@ -80,6 +80,9 @@ popd %ldconfig_scriptlets +chrpath -d %{buildroot}/%{_bindir}/* +chrpath -d %{buildroot}/%{_libdir}/* + %files %license LICENSE %{_bindir}/tss* @@ -96,6 +99,9 @@ popd %doc ibmtss.doc %changelog +* Thu Mar 18 2021 sunguoshuai - 1470-2 +- Delete rpath in some binaries. + * Tue Jul 14 2020 Roberto Sassu - 1470-1 - Import in openEuler -- Gitee