Compare commits

..

No commits in common. "277ea5f9066a40c76eb0786ba824445b8375114c" and "8d2a9ee2160a18459766e6f7781cd9570b00d7c1" have entirely different histories.

5 changed files with 6 additions and 80 deletions

6
.gitignore vendored
View File

@ -15,9 +15,3 @@
/nss_wrapper-1.1.10.tar.gz.asc
/nss_wrapper-1.1.11.tar.gz
/nss_wrapper-1.1.11.tar.gz.asc
/nss_wrapper-1.1.12.tar.gz
/nss_wrapper-1.1.12.tar.gz.asc
/nss_wrapper-1.1.13.tar.gz
/nss_wrapper-1.1.13.tar.gz.asc
/nss_wrapper-1.1.15.tar.gz
/nss_wrapper-1.1.15.tar.gz.asc

View File

@ -1,31 +0,0 @@
From 2c879a0ffa70cee33329291d7576ec971d420da2 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Fri, 17 Feb 2023 17:51:27 +0100
Subject: [PATCH] cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
---
tests/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 3b94076..733cc4e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,5 +1,9 @@
project(tests C)
+if (TARGET cmocka::cmocka)
+ set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
set(TESTSUITE_LIBRARIES nss_utils ${NWRAP_REQUIRED_LIBRARIES} ${CMOCKA_LIBRARY})
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
--
2.39.2

View File

@ -1,8 +1,8 @@
Name: nss_wrapper
Version: 1.1.15
Release: 5%{?dist}
Version: 1.1.11
Release: 8%{?dist}
License: BSD-3-Clause
License: BSD
Summary: A wrapper for the user, group and hosts NSS API
Url: https://cwrap.org/
@ -10,8 +10,6 @@ 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: nss_wrapper-fix-cmocka-1.1.6+-support.patch
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gnupg2
@ -53,7 +51,7 @@ The %{name}-libs package provides only the shared library.
For a minimal footprint, install just this package.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -p1
%build
@ -86,37 +84,6 @@ sed -i '1 s|/usr/bin/env\ perl|/usr/bin/perl|' %{buildroot}%{_bindir}/nss_wrappe
%{_libdir}/libnss_wrapper.so*
%changelog
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 06 2023 Andreas Schneider <asn@redhat.com> - 1.1.15-2
- Update License to SPDX expression
* Mon Feb 27 2023 Andreas Schneider <asn@redhat.com> - 1.1.15-1
- Update to version 1.1.15
https://gitlab.com/cwrap/nss_wrapper/-/blob/nss_wrapper-1.1.15/CHANGELOG
- Fix building with cmocka >= 1.1.6
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 09 2022 Andreas Schneider <asn@redhat.com> - 1.1.13-1
- Update to version 1.1.13
https://gitlab.com/cwrap/nss_wrapper/-/blob/nss_wrapper-1.1.13/CHANGELOG
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 24 2022 Andreas Schneider <asn@redhat.com> - 1.1.12-1
- Update to version 1.1.12
https://gitlab.com/cwrap/nss_wrapper/-/blob/nss_wrapper-1.1.12/CHANGELOG
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1,4 +0,0 @@
---
badfuncs:
ignore:
- /usr/lib64/libnss_wrapper.so.*

View File

@ -1,2 +1,2 @@
SHA512 (nss_wrapper-1.1.15.tar.gz) = 803dfb67e042800e60f4735177384ff3b9348f4c96c02e62ae0b449583542fdaf443eb1fa48b5d5e4ea6fe0d81ce84f340bd406c968c05f71b5c64dd499feacd
SHA512 (nss_wrapper-1.1.15.tar.gz.asc) = 36ab3bc5cd2a26b5b07930191c3d1accef214e9744644769e02102b49e5d8d8054311dbd364295d5bc2979538e80c110a8d935fb6b5039a9b893d60d6a653fae
SHA512 (nss_wrapper-1.1.11.tar.gz) = 8a0dfa6ccf865640f86168f0dc2915675b5815cacc36bdacbfc1163ec4b38a28be5a160d1c9e6d3785890bc5e12e32b8c070dcabb52c6dd6235ebeed51d51857
SHA512 (nss_wrapper-1.1.11.tar.gz.asc) = 616020ac05fde868d3ed1ff4e2ba059a12e21f21907ca1d3a8b431be070f5fbf3ff50eb24905c137157125c594c863095bfbe863adb00556ddf4d5bd88e0ee51