!58 Remove rpath

From: @starlet-dx 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-10-18 06:03:38 +00:00 committed by Gitee
commit 1264046841
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: exiv2 Name: exiv2
Version: 0.27.5 Version: 0.27.5
Release: 1 Release: 2
Summary: Exif, IPTC and XMP metadata and the ICC Profile Summary: Exif, IPTC and XMP metadata and the ICC Profile
License: GPLv2+ License: GPLv2+
URL: http://www.exiv2.org/ URL: http://www.exiv2.org/
@ -10,7 +10,7 @@ Provides: exiv2-libs
Obsoletes: exiv2-libs Obsoletes: exiv2-libs
BuildRequires: cmake expat-devel gcc-c++ gettext pkgconfig BuildRequires: cmake expat-devel gcc-c++ gettext pkgconfig
BuildRequires: doxygen graphviz libxslt zlib-devel BuildRequires: doxygen graphviz libxslt zlib-devel chrpath
%description %description
Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.
@ -43,6 +43,8 @@ make doc
%install %install
%make_install %make_install
%find_lang exiv2 --with-man %find_lang exiv2 --with-man
chrpath -d %{buildroot}%{_libdir}/libexiv2.so.0.27.5
chrpath -d %{buildroot}%{_bindir}/%{name}
%check %check
export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}"
@ -74,6 +76,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
%{_pkgdocdir}/ %{_pkgdocdir}/
%changelog %changelog
* Tue Oct 18 2022 yaoxin <yaoxin30@h-partners.com> - 0.27.5-2
- Remove rpath
* Tue Nov 23 2021 wangkai <wangkai385@huawei.com> - 0.27.5-1 * Tue Nov 23 2021 wangkai <wangkai385@huawei.com> - 0.27.5-1
- Upgrade to 0.27.5 - Upgrade to 0.27.5