From 21eada7c529213bfae56816ddef493b5ffa3a2b0b132bec6bb01ba1e7c954a39 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 26 Apr 2024 20:44:50 +0000
Subject: [PATCH] - Update to release 20240426

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libnsfdb?expand=0&rev=9
---
 libnsfdb-experimental-20240211.tar.gz     |  3 --
 libnsfdb-experimental-20240211.tar.gz.asc | 11 -------
 libnsfdb-experimental-20240426.tar.gz     |  3 ++
 libnsfdb-experimental-20240426.tar.gz.asc | 11 +++++++
 libnsfdb.changes                          |  6 ++++
 libnsfdb.spec                             | 39 +++++++++++------------
 6 files changed, 39 insertions(+), 34 deletions(-)
 delete mode 100644 libnsfdb-experimental-20240211.tar.gz
 delete mode 100644 libnsfdb-experimental-20240211.tar.gz.asc
 create mode 100644 libnsfdb-experimental-20240426.tar.gz
 create mode 100644 libnsfdb-experimental-20240426.tar.gz.asc

diff --git a/libnsfdb-experimental-20240211.tar.gz b/libnsfdb-experimental-20240211.tar.gz
deleted file mode 100644
index 2206b46..0000000
--- a/libnsfdb-experimental-20240211.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a4b6139d0dd5d92b5f19b4341e83c2717c5b92e2f7ff3575129ca4495a83c6dc
-size 1572562
diff --git a/libnsfdb-experimental-20240211.tar.gz.asc b/libnsfdb-experimental-20240211.tar.gz.asc
deleted file mode 100644
index 4464bdb..0000000
--- a/libnsfdb-experimental-20240211.tar.gz.asc
+++ /dev/null
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmXI058ACgkQ2WJeXXrQ
-F378zgf9FhtpE0LlBhmjicDEgU9CqE3Mz7FHG3/OubLdWeW8VEtTGqD/2h74f7GX
-JpcAPD+r2oXEhd3R43v+/i7fVvjKGE6tjvi7fpkPxvOANioyE/NdK1piSQ1vpsEj
-ZItBGPBlU0BdPR3uXCuUoeFDJfGDCoXKqMQRVV1hStuDGWgPCaQ4tC2pLRCz6K9G
-lVh1q1wbCE7tksNcG2y12mK4g4/GevnNnYOD8oC1RrE9kEYIezyCdYIa2GuSamHN
-zJOLteV4ZVLob+eldvm+rzZmdal/jtWO/CaIquO8LdO+Jqdgy/S77a3l2t+JCIui
-/Oa/h/SZ9+4a3R2VO9oGsDtHVgUOIg==
-=uUMC
------END PGP SIGNATURE-----
diff --git a/libnsfdb-experimental-20240426.tar.gz b/libnsfdb-experimental-20240426.tar.gz
new file mode 100644
index 0000000..23746d1
--- /dev/null
+++ b/libnsfdb-experimental-20240426.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b7b8790b5ed25a8d92bee0244616cb3f4e3f6f9df26de739a92cd53424f167ea
+size 1573946
diff --git a/libnsfdb-experimental-20240426.tar.gz.asc b/libnsfdb-experimental-20240426.tar.gz.asc
new file mode 100644
index 0000000..aedd443
--- /dev/null
+++ b/libnsfdb-experimental-20240426.tar.gz.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmYr3joACgkQ2WJeXXrQ
+F36Jpgf+KDsoC80Go5kjX98Mr0Ol2uAhORaN1B8rraEHQpGSdaocTDLm3hOGCwsO
+Zjk7KPvs/oUErzC0V1YRpQPcWLdhQWjyxx5v927CsvYmpjAtEMB706rkdpDy2BZf
+jVflzSnemPzjJ59k05Q589jqeWWe2tgYPXo3ddybJSqWBXfzX7EEKHgewOvvMo5j
++56yOcaXqGW6xE7gPFL89CfRM1BsuRUB40HE1fUnBPhcOtTKeL19gNAKgppbYdgJ
+ipk4+SUHceCh5ZjXCaaP4YoEkR5Dgjj9hhJnwsolwlwn7h4k0+k3WfHge2bIw0yw
+4jj3Ptfl8ANwjDtSzLWlPs9r9X2f3g==
+=1dGc
+-----END PGP SIGNATURE-----
diff --git a/libnsfdb.changes b/libnsfdb.changes
index 0899c41..a816431 100644
--- a/libnsfdb.changes
+++ b/libnsfdb.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Fri Apr 26 20:43:21 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 20240426
+  * No changelog was provided
+
 -------------------------------------------------------------------
 Sun Feb 11 14:34:04 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/libnsfdb.spec b/libnsfdb.spec
index b71c9cd..4d6b396 100644
--- a/libnsfdb.spec
+++ b/libnsfdb.spec
@@ -18,30 +18,31 @@
 
 Name:           libnsfdb
 %define lname	libnsfdb1
-Version:        20240211
+Version:        20240426
 Release:        0
 Summary:        Library and tools to access the Notes Storage Facility format
 License:        LGPL-3.0-or-later
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/libyal/libnsfdb
-Source:         https://github.com/libyal/libnsfdb/releases/download/%version/libnsfdb-experimental-%version.tar.gz
-Source2:        https://github.com/libyal/libnsfdb/releases/download/%version/libnsfdb-experimental-%version.tar.gz.asc
+Source:         https://github.com/libyal/libnsfdb/releases/download/%version/%name-experimental-%version.tar.gz
+Source2:        https://github.com/libyal/libnsfdb/releases/download/%version/%name-experimental-%version.tar.gz.asc
 Source3:        %name.keyring
 BuildRequires:  c_compiler
-BuildRequires:  pkgconfig(libbfio) >= 20221025
-BuildRequires:  pkgconfig(libcdata) >= 20240103
-BuildRequires:  pkgconfig(libcerror) >= 20240101
-BuildRequires:  pkgconfig(libcfile) >= 20240106
-BuildRequires:  pkgconfig(libclocale) >= 20240107
-BuildRequires:  pkgconfig(libcnotify) >= 20240108
-BuildRequires:  pkgconfig(libcpath) >= 20240109
-BuildRequires:  pkgconfig(libcsplit) >= 20240110
-BuildRequires:  pkgconfig(libcthreads) >= 20240102
-BuildRequires:  pkgconfig(libfcache) >= 20240112
-BuildRequires:  pkgconfig(libfdata) >= 20240114
-BuildRequires:  pkgconfig(libfdatetime) >= 20240115
-BuildRequires:  pkgconfig(libfvalue) >= 20240124
-BuildRequires:  pkgconfig(libuna) >= 20240130
+BuildRequires:  pkgconfig(libbfio) >= 20240414
+BuildRequires:  pkgconfig(libcdata) >= 20240414
+BuildRequires:  pkgconfig(libcerror) >= 20240413
+BuildRequires:  pkgconfig(libcfile) >= 20240414
+BuildRequires:  pkgconfig(libclocale) >= 20240414
+BuildRequires:  pkgconfig(libcnotify) >= 20240414
+BuildRequires:  pkgconfig(libcpath) >= 20240414
+BuildRequires:  pkgconfig(libcsplit) >= 20240414
+BuildRequires:  pkgconfig(libcthreads) >= 20240413
+BuildRequires:  pkgconfig(libfcache) >= 20240414
+BuildRequires:  pkgconfig(libfdata) >= 20240415
+BuildRequires:  pkgconfig(libfdatetime) >= 20240415
+BuildRequires:  pkgconfig(libfvalue) >= 20240414
+BuildRequires:  pkgconfig(libuna) >= 20240414
+# Various notes: https://en.opensuse.org/libyal
 
 %description
 libnsfdb is a library to access the Notes Storage Facility (NSF)
@@ -85,7 +86,6 @@ read Notes Storage Facility databases.
 
 %build
 if [ ! -e configure ]; then ./autogen.sh; fi
-# see libcdata for version-sc
 echo "V_%version { global: *; };" >v.sym
 %configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym"
 %make_build
@@ -94,8 +94,7 @@ echo "V_%version { global: *; };" >v.sym
 %make_install
 find "%buildroot" -type f -name "*.la" -delete -print
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%ldconfig_scriptlets -n %lname
 
 %files -n %lname
 %license COPYING*