Remove rpath

This commit is contained in:
wk333 2023-11-08 09:14:02 +08:00
parent ecf25fbbc6
commit 66edf9dfd9

View File

@ -1,6 +1,6 @@
Name: exiv2 Name: exiv2
Version: 0.27.5 Version: 0.27.5
Release: 2 Release: 3
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/
@ -12,7 +12,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.
@ -45,6 +45,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}"
@ -76,6 +78,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
%{_pkgdocdir}/ %{_pkgdocdir}/
%changelog %changelog
* Wed Nov 08 2023 wangkai <13474090681@163.com> - 0.27.5-3
- Remove rpath
* Thu Nov 10 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 0.27.5-2 * Thu Nov 10 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 0.27.5-2
- Fix CVE-2022-3755 CVE-2022-3756 - Fix CVE-2022-3755 CVE-2022-3756