Remove rpath
This commit is contained in:
parent
faac12b544
commit
81b30280a0
10
exiv2.spec
10
exiv2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: exiv2
|
Name: exiv2
|
||||||
Version: 0.27.5
|
Version: 0.27.5
|
||||||
Release: 3
|
Release: 4
|
||||||
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,9 @@ 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 +79,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
|
|||||||
%{_pkgdocdir}/
|
%{_pkgdocdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 2 2023 liyanan <liyanan32@h-partners.com> - 0.27.5-4
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Thu Nov 10 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 0.27.5-3
|
* Thu Nov 10 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 0.27.5-3
|
||||||
- Fix CVE-2022-3756
|
- Fix CVE-2022-3756
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user