Fix invalid library path in cmake configuration

Resolves: #1809275
This commit is contained in:
Anderson Toshiyuki Sasaki 2020-03-03 10:31:17 +01:00
parent e0a8453ad9
commit 757c5efdf2
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,6 @@
index 0a3e3fd..43ab1fa 100644
--- a/uid_wrapper-config.cmake.in
+++ b/uid_wrapper-config.cmake.in
@@ -1 +1 @@
-set(UID_WRAPPER_LIBRARY @CMAKE_INSTALL_LIBDIR@/@UID_WRAPPER_LIB@)
+set(UID_WRAPPER_LIBRARY @CMAKE_INSTALL_FULL_LIBDIR@/@UID_WRAPPER_LIB@)

View File

@ -1,6 +1,6 @@
Name: uid_wrapper Name: uid_wrapper
Version: 1.2.7 Version: 1.2.7
Release: 2%{?dist} Release: 3%{?dist}
Summary: A wrapper for privilege separation Summary: A wrapper for privilege separation
License: GPLv3+ License: GPLv3+
@ -11,6 +11,7 @@ Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
Source2: uid_wrapper.keyring Source2: uid_wrapper.keyring
Patch0: 0001-pkg-config-Fix-installation-path.patch Patch0: 0001-pkg-config-Fix-installation-path.patch
Patch1: uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: cmake BuildRequires: cmake
@ -75,6 +76,9 @@ popd
%{_mandir}/man1/uid_wrapper.1* %{_mandir}/man1/uid_wrapper.1*
%changelog %changelog
* Tue Mar 03 2020 Anderson Sasaki <ansasaki@redhat.com> - 1.2.7-3
- Fix invalid library path in cmake configuration file (bz#1809275)
* Wed Feb 12 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-2 * Wed Feb 12 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-2
- resolves: #1801869 - Fix invalid lib pkg-config lib path - resolves: #1801869 - Fix invalid lib pkg-config lib path