Fix invalid lib pkg-config lib path

resolves: #1801869
This commit is contained in:
Andreas Schneider 2020-02-12 10:04:07 +01:00
parent d3e8eb2dc9
commit e0a8453ad9
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From 7b3211858d07cb93f89c1fd5eaa178f14e1f1968 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Wed, 12 Feb 2020 09:52:40 +0100
Subject: [PATCH] pkg-config: Fix installation path
Signed-off-by: Andreas Schneider <asn@samba.org>
---
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

View File

@ -1,6 +1,6 @@
Name: uid_wrapper Name: uid_wrapper
Version: 1.2.7 Version: 1.2.7
Release: 1%{?dist} Release: 2%{?dist}
Summary: A wrapper for privilege separation Summary: A wrapper for privilege separation
License: GPLv3+ 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 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
BuildRequires: gcc BuildRequires: gcc
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gnupg2 BuildRequires: gnupg2
@ -73,6 +75,9 @@ popd
%{_mandir}/man1/uid_wrapper.1* %{_mandir}/man1/uid_wrapper.1*
%changelog %changelog
* Wed Feb 12 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-2
- resolves: #1801869 - Fix invalid lib pkg-config lib path
* Tue Feb 11 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-1 * Tue Feb 11 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-1
- Update to version 1.2.7 - Update to version 1.2.7
* Fix unsetting initial XIDs * Fix unsetting initial XIDs