From 757c5efdf2ab895e4decef0ea5115a15a32d7629 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Tue, 3 Mar 2020 10:31:17 +0100 Subject: [PATCH] Fix invalid library path in cmake configuration Resolves: #1809275 --- uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch | 6 ++++++ uid_wrapper.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch diff --git a/uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch b/uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch new file mode 100644 index 0000000..d159122 --- /dev/null +++ b/uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch @@ -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@) diff --git a/uid_wrapper.spec b/uid_wrapper.spec index d9b9997..b658ec4 100644 --- a/uid_wrapper.spec +++ b/uid_wrapper.spec @@ -1,6 +1,6 @@ Name: uid_wrapper Version: 1.2.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A wrapper for privilege separation License: GPLv3+ @@ -11,6 +11,7 @@ Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc Source2: uid_wrapper.keyring Patch0: 0001-pkg-config-Fix-installation-path.patch +Patch1: uid_wrapper-1.2.7-cmake-config-fix-installation-path.patch BuildRequires: gcc BuildRequires: cmake @@ -75,6 +76,9 @@ popd %{_mandir}/man1/uid_wrapper.1* %changelog +* Tue Mar 03 2020 Anderson Sasaki - 1.2.7-3 +- Fix invalid library path in cmake configuration file (bz#1809275) + * Wed Feb 12 2020 Andreas Schneider - 1.2.7-2 - resolves: #1801869 - Fix invalid lib pkg-config lib path