From 03a7488ddc0793db8c48c82c07b6301a44bbf05f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Feb 12 2020 09:13:30 +0000 Subject: Fix invalid lib pkg-config lib path resolves: #1801869 --- diff --git a/0001-pkg-config-Fix-installation-path.patch b/0001-pkg-config-Fix-installation-path.patch new file mode 100644 index 0000000..e9bcfb0 --- /dev/null +++ b/0001-pkg-config-Fix-installation-path.patch @@ -0,0 +1,23 @@ +From 7b3211858d07cb93f89c1fd5eaa178f14e1f1968 Mon Sep 17 00:00:00 2001 +From: Andreas Schneider +Date: Wed, 12 Feb 2020 09:52:40 +0100 +Subject: [PATCH] pkg-config: Fix installation path + +Signed-off-by: Andreas Schneider +--- + uid_wrapper.pc.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/uid_wrapper.pc.cmake b/uid_wrapper.pc.cmake +index c15d3be..7e0095c 100644 +--- a/uid_wrapper.pc.cmake ++++ b/uid_wrapper.pc.cmake +@@ -1,4 +1,4 @@ + Name: @PROJECT_NAME@ + Description: The uid_wrapper library + Version: @PROJECT_VERSION@ +-Libs: @CMAKE_INSTALL_LIBDIR@/@UID_WRAPPER_LIB@ ++Libs: @CMAKE_INSTALL_FULL_LIBDIR@/@UID_WRAPPER_LIB@ +-- +2.24.1 + diff --git a/uid_wrapper.spec b/uid_wrapper.spec index 584b657..08d3966 100644 --- a/uid_wrapper.spec +++ b/uid_wrapper.spec @@ -1,6 +1,6 @@ Name: uid_wrapper Version: 1.2.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A wrapper for privilege separation License: GPLv3+ @@ -10,6 +10,8 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc Source2: uid_wrapper.keyring +Patch0: 0001-pkg-config-Fix-installation-path.patch + BuildRequires: gcc BuildRequires: cmake BuildRequires: gnupg2 @@ -73,6 +75,9 @@ popd %{_mandir}/man1/uid_wrapper.1* %changelog +* Wed Feb 12 2020 Andreas Schneider - 1.2.7-2 +- resolves: #1801869 - Fix invalid lib pkg-config lib path + * Tue Feb 11 2020 Andreas Schneider - 1.2.7-1 - Update to version 1.2.7 * Fix unsetting initial XIDs