diff --git a/exiv2.spec b/exiv2.spec index 54cc64b7611db874f4bd04076af4bc0d5dd51834..31b721e4fb14aee518a6467785c6e12511e53995 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -1,6 +1,6 @@ Name: exiv2 Version: 0.27.5 -Release: 2 +Release: 3 Summary: Exif, IPTC and XMP metadata and the ICC Profile License: GPLv2+ URL: http://www.exiv2.org/ @@ -12,7 +12,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. @@ -45,6 +45,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}" @@ -76,6 +78,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %{_pkgdocdir}/ %changelog +* Wed Nov 08 2023 wangkai <13474090681@163.com> - 0.27.5-3 +- Remove rpath + * Thu Nov 10 2022 jiangpeng - 0.27.5-2 - Fix CVE-2022-3755 CVE-2022-3756