From dc7c0f44869cbbc27b8832fa4aa45e3966b5b342 Mon Sep 17 00:00:00 2001 From: sxt1001 Date: Wed, 8 Sep 2021 11:27:11 +0800 Subject: [PATCH] remove rpath --- rarian.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/rarian.spec b/rarian.spec index f990ce1..2e46649 100644 --- a/rarian.spec +++ b/rarian.spec @@ -1,6 +1,6 @@ Name: rarian Version: 0.8.1 -Release: 23 +Release: 24 License: LGPLv2+ Summary: Documentation meta-data library URL: http://rarian.freedesktop.org/ @@ -14,7 +14,7 @@ Requires(post): libxml2 Requires(postun): libxml2 Requires: libxslt coreutils util-linux gawk -BuildRequires: gcc-c++ libxslt-devel +BuildRequires: gcc-c++ libxslt-devel chrpath %description Rarian is designed to be a replacement for scrollkeeper. It is @@ -58,6 +58,13 @@ mkdir -p %buildroot%{_datadir}/xml/scrollkeeper/dtds cp %{SOURCE1} %buildroot%{_datadir}/xml/scrollkeeper/dtds %delete_la_and_a +# remove rpath +chrpath -d %buildroot%{_bindir}/rarian-example +chrpath -d %buildroot%{_bindir}/rarian-sk-preinstall +chrpath -d %buildroot%{_bindir}/rarian-sk-get-cl +chrpath -d %buildroot%{_bindir}/rarian-sk-migrate +chrpath -d %buildroot%{_bindir}/rarian-sk-gen-uuid + %post -p /sbin/ldconfig %post compat @@ -103,6 +110,9 @@ fi %{_datadir}/help %changelog +* Wed Sep 08 2021 shixuantong - 0.8.1-24 +- remove rpath + * Thu Oct 10 2019 openEuler Buildteam - 0.8.1-23 - spec modified