Fixed patch for pkg-config

This commit is contained in:
Andreas Schneider 2019-11-18 15:47:45 +01:00
parent 999085c445
commit d17f9617b4
2 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,24 @@
From 9d72b6e5dac0e07be468122c0a909341cbf942bc Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Thu, 14 Nov 2019 10:35:27 +0100
Subject: [PATCH] pkgconfig: Fix path to library in nss_wrapper.pc
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org
---
nss_wrapper.pc.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nss_wrapper.pc.cmake b/nss_wrapper.pc.cmake
index fb9afd7..884c90b 100644
--- a/nss_wrapper.pc.cmake
+++ b/nss_wrapper.pc.cmake
@@ -1,4 +1,4 @@
Name: @PROJECT_NAME@
Description: The nss_wrapper library
Version: @PROJECT_VERSION@
-Libs: @CMAKE_INSTALL_LIBDIR@/@NSS_WRAPPER_LIB@
+Libs: @CMAKE_INSTALL_FULL_LIBDIR@/@NSS_WRAPPER_LIB@
--
2.22.0

View File

@ -1,6 +1,6 @@
Name: nss_wrapper
Version: 1.1.7
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Summary: A wrapper for the user, group and hosts NSS API
@ -10,7 +10,7 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
Source2: nss_wrapper.keyring
Patch0: https://gitlab.com/cwrap/nss_wrapper/commit/79b48745f55cc4947b437f0f1912cbad51eade63.patch
Patch0: https://gitlab.com/cwrap/nss_wrapper/commit/9d72b6e5dac0e07be468122c0a909341cbf942bc.patch
BuildRequires: cmake
BuildRequires: gcc
@ -87,6 +87,9 @@ popd
%{_mandir}/man1/nss_wrapper.1*
%changelog
* Mon Nov 18 2019 Andreas Schneider <asn@redhat.com> - 1.1.7-3
- Fixed patch for pkg-config
* Mon Nov 18 2019 Andreas Schneider <asn@redhat.com> - 1.1.7-2
- resolves: #1772368 - Incorrect path in pkg-config file