solve the rpath problem

This commit is contained in:
leeffo 2023-10-10 15:23:42 +08:00
parent eb1e0f6890
commit b8467c8efd

View File

@ -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 liweigang <weigangli99@yeah.net> - 1.0.13-2
- solve the rpath problem
* Tue Sep 21 2021 yaoxin <yaoxin30@huawei.com> - 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