Backport RHEL9 patch for RPATH
Resolves: RHEL-45267
This commit is contained in:
parent
e8f7d94b04
commit
4b3a83bc7f
13
exiv2-no-rpath.patch
Normal file
13
exiv2-no-rpath.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/cmake/mainSetup.cmake b/cmake/mainSetup.cmake
|
||||||
|
index 1ea9deb..36253d1 100644
|
||||||
|
--- a/cmake/mainSetup.cmake
|
||||||
|
+++ b/cmake/mainSetup.cmake
|
||||||
|
@@ -26,8 +26,6 @@ if (UNIX)
|
||||||
|
if (APPLE)
|
||||||
|
set(CMAKE_MACOSX_RPATH ON)
|
||||||
|
set(CMAKE_INSTALL_RPATH "@loader_path")
|
||||||
|
- else()
|
||||||
|
- join_paths(CMAKE_INSTALL_RPATH "$ORIGIN" ".." "${CMAKE_INSTALL_LIBDIR}")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: exiv2
|
Name: exiv2
|
||||||
Version: 0.28.3
|
Version: 0.28.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Exif and Iptc metadata manipulation library
|
Summary: Exif and Iptc metadata manipulation library
|
||||||
|
|
||||||
# GPL-2.0-or-later: main library
|
# GPL-2.0-or-later: main library
|
||||||
@ -20,6 +20,8 @@ Source: %{vcs}/archive/v%{version}-%{beta}/%{name}-%{version}-%{beta}.ta
|
|||||||
Source: %{vcs}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: %{vcs}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Patch0: exiv2-no-rpath.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -143,6 +145,10 @@ test -x %{buildroot}%{_libdir}/libexiv2.so
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 06 2024 Jan Grulich <jgrulich@redhat.com> - 0.28.3-2
|
||||||
|
- Backport RHEL9 patch for RPATH
|
||||||
|
Resolves: RHEL-45267
|
||||||
|
|
||||||
* Tue Aug 06 2024 Jan Grulich <jgrulich@redhat.com> - 0.28.3-1
|
* Tue Aug 06 2024 Jan Grulich <jgrulich@redhat.com> - 0.28.3-1
|
||||||
- 0.28.3
|
- 0.28.3
|
||||||
Resolves: RHEL-45267
|
Resolves: RHEL-45267
|
||||||
|
Loading…
Reference in New Issue
Block a user