From 79d29fa27b38f9e8f4b03645c8e8d26a109fefd2 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 10 Oct 2023 15:27:53 +0800 Subject: [PATCH] Remove rpath --- libEMF.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libEMF.spec b/libEMF.spec index 90cc52b..c6f9517 100644 --- a/libEMF.spec +++ b/libEMF.spec @@ -1,12 +1,13 @@ Name: libEMF Version: 1.0.13 -Release: 1 +Release: 2 Summary: A library for generating Enhanced Metafiles License: LGPLv2+ and GPLv2+ URL: http://libemf.sourceforge.net/ Source0: https://downloads.sourceforge.net/project/libemf/libemf/%{version}/libemf-%{version}.tar.gz BuildRequires: gcc-c++ +BuildRequires: chrpath %description libEMF is designed to be used as a driver for other programs such as Grace and gunplot @@ -36,6 +37,7 @@ Documentation for libEMF. %install export CPPROG="cp -p" %make_install +chrpath -d %{buildroot}%{_bindir}/printemf %delete_la %check @@ -58,6 +60,9 @@ make check %doc doc/html/* NEWS README %changelog +* Tue Oct 10 2023 yaoxin - 1.0.13-2 +- Remove rpath + * Tue Sep 21 2021 yaoxin - 1.0.13-1 - Upgrade libEMF to 1.0.13; fix CVE-2020-13999 CVE-2020-11863 CVE-2020-11864 CVE-2020-11865 CVE-2020-11866 -- Gitee