From cb176a0235965b9cc49ab7289248b137a1bdcd38 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 18 Oct 2022 09:27:29 +0800 Subject: [PATCH] Remove rpath (cherry picked from commit c1d21a948f984408f36715900bf282aac7011544) --- exiv2.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/exiv2.spec b/exiv2.spec index 36bd3ae..7a8043a 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -1,6 +1,6 @@ Name: exiv2 Version: 0.27.5 -Release: 1 +Release: 2 Summary: Exif, IPTC and XMP metadata and the ICC Profile License: GPLv2+ URL: http://www.exiv2.org/ @@ -10,7 +10,7 @@ Provides: exiv2-libs Obsoletes: exiv2-libs BuildRequires: cmake expat-devel gcc-c++ gettext pkgconfig -BuildRequires: doxygen graphviz libxslt zlib-devel +BuildRequires: doxygen graphviz libxslt zlib-devel chrpath %description Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. @@ -43,6 +43,8 @@ make doc %install %make_install %find_lang exiv2 --with-man +chrpath -d %{buildroot}%{_libdir}/libexiv2.so.0.27.5 +chrpath -d %{buildroot}%{_bindir}/%{name} %check export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}" @@ -74,6 +76,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %{_pkgdocdir}/ %changelog +* Tue Oct 18 2022 yaoxin - 0.27.5-2 +- Remove rpath + * Tue Nov 23 2021 wangkai - 0.27.5-1 - Upgrade to 0.27.5 -- Gitee