- Update to 1.9.6:

* Update the systemd run directory
- Refresh move_to_run.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=87
This commit is contained in:
Michael Vetter 2022-11-11 16:01:30 +00:00 committed by Git OBS Bridge
parent af3f8c788b
commit 4b03a7316a
5 changed files with 34 additions and 44 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ca9e9eed222fa23366a8e5efa9ed684140bafd3f011bb2498d0982c1e26092b
size 1077445

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4abb4ccd1ce2e006d7ae0aa416c187384c9acf524dfbf8b1a7a07dfde9efa59
size 1077397

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 11 15:52:38 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 1.9.6:
* Update the systemd run directory
- Refresh move_to_run.patch
-------------------------------------------------------------------
Tue Oct 18 12:10:13 UTC 2022 - Michael Vetter <mvetter@suse.com>

View File

@ -26,7 +26,7 @@
%define python3 0
%endif
Name: libstoragemgmt
Version: 1.9.5
Version: 1.9.6
Release: 0
Summary: Storage array management library
License: GPL-2.0-or-later AND LGPL-2.1-or-later

View File

@ -1,10 +1,7 @@
bsc#1185067, migrate /var/run to /run.
Index: libstoragemgmt-1.9.3/c_binding/lsm_datatypes.cpp
===================================================================
--- libstoragemgmt-1.9.3.orig/c_binding/lsm_datatypes.cpp
+++ libstoragemgmt-1.9.3/c_binding/lsm_datatypes.cpp
@@ -52,7 +52,7 @@
diff -urEbw libstoragemgmt-1.9.6/c_binding/lsm_datatypes.cpp libstoragemgmt-1.9.6.new/c_binding/lsm_datatypes.cpp
--- libstoragemgmt-1.9.6/c_binding/lsm_datatypes.cpp 2022-04-06 19:55:18.000000000 +0200
+++ libstoragemgmt-1.9.6.new/c_binding/lsm_datatypes.cpp 2022-11-11 16:55:27.674287708 +0100
@@ -51,7 +51,7 @@
#ifdef __cplusplus
extern "C" {
#endif
@ -13,10 +10,9 @@ Index: libstoragemgmt-1.9.3/c_binding/lsm_datatypes.cpp
int lsm_string_list_append(lsm_string_list *sl, const char *value) {
int rc = LSM_ERR_INVALID_ARGUMENT;
Index: libstoragemgmt-1.9.3/daemon/lsm_daemon.c
===================================================================
--- libstoragemgmt-1.9.3.orig/daemon/lsm_daemon.c
+++ libstoragemgmt-1.9.3/daemon/lsm_daemon.c
diff -urEbw libstoragemgmt-1.9.6/daemon/lsm_daemon.c libstoragemgmt-1.9.6.new/daemon/lsm_daemon.c
--- libstoragemgmt-1.9.6/daemon/lsm_daemon.c 2022-04-06 19:55:18.000000000 +0200
+++ libstoragemgmt-1.9.6.new/daemon/lsm_daemon.c 2022-11-11 16:56:06.354471805 +0100
@@ -44,7 +44,7 @@
#include <syslog.h>
#include <unistd.h>
@ -26,19 +22,9 @@ Index: libstoragemgmt-1.9.3/daemon/lsm_daemon.c
#define SOCKET_DIR BASE_DIR "/ipc"
#define PLUGIN_DIR "/usr/bin"
#define LSM_USER "libstoragemgmt"
Index: libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmt.conf
===================================================================
--- libstoragemgmt-1.9.3.orig/packaging/daemon/libstoragemgmt.conf
+++ libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmt.conf
@@ -1,2 +1,2 @@
-D /var/run/lsm 0775 root libstoragemgmt -
-D /var/run/lsm/ipc 0775 root libstoragemgmt -
+D /run/lsm 0775 root libstoragemgmt -
+D /run/lsm/ipc 0775 root libstoragemgmt -
Index: libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmtd
===================================================================
--- libstoragemgmt-1.9.3.orig/packaging/daemon/libstoragemgmtd
+++ libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmtd
diff -urEbw libstoragemgmt-1.9.6/packaging/daemon/libstoragemgmtd libstoragemgmt-1.9.6.new/packaging/daemon/libstoragemgmtd
--- libstoragemgmt-1.9.6/packaging/daemon/libstoragemgmtd 2022-03-15 23:38:45.000000000 +0100
+++ libstoragemgmt-1.9.6.new/packaging/daemon/libstoragemgmtd 2022-11-11 16:57:40.126918116 +0100
@@ -15,7 +15,7 @@
NAME=lsmd
@ -48,7 +34,7 @@ Index: libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmtd
LOCK=/var/lock/subsys/libstoragemgmtd
RETVAL=0
@@ -27,8 +27,8 @@ if [ "`id -u`" != 0 ] ; then
@@ -27,8 +27,8 @@
fi
check_dirs() {
@ -59,11 +45,10 @@ Index: libstoragemgmt-1.9.3/packaging/daemon/libstoragemgmtd
}
status_lsm() {
Index: libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec
===================================================================
--- libstoragemgmt-1.9.3.orig/packaging/libstoragemgmt.spec
+++ libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec
@@ -264,7 +264,7 @@ popd
diff -urEbw libstoragemgmt-1.9.6/packaging/libstoragemgmt.spec libstoragemgmt-1.9.6.new/packaging/libstoragemgmt.spec
--- libstoragemgmt-1.9.6/packaging/libstoragemgmt.spec 2022-11-08 16:20:12.000000000 +0100
+++ libstoragemgmt-1.9.6.new/packaging/libstoragemgmt.spec 2022-11-11 16:58:20.231109009 +0100
@@ -264,7 +264,7 @@
%pre
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
getent passwd libstoragemgmt >/dev/null || \
@ -72,11 +57,10 @@ Index: libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec
-c "daemon account for libstoragemgmt" libstoragemgmt
%post
Index: libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec.in
===================================================================
--- libstoragemgmt-1.9.3.orig/packaging/libstoragemgmt.spec.in
+++ libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec.in
@@ -264,7 +264,7 @@ popd
diff -urEbw libstoragemgmt-1.9.6/packaging/libstoragemgmt.spec.in libstoragemgmt-1.9.6.new/packaging/libstoragemgmt.spec.in
--- libstoragemgmt-1.9.6/packaging/libstoragemgmt.spec.in 2022-04-06 19:55:18.000000000 +0200
+++ libstoragemgmt-1.9.6.new/packaging/libstoragemgmt.spec.in 2022-11-11 16:58:47.279237761 +0100
@@ -264,7 +264,7 @@
%pre
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
getent passwd libstoragemgmt >/dev/null || \
@ -85,11 +69,10 @@ Index: libstoragemgmt-1.9.3/packaging/libstoragemgmt.spec.in
-c "daemon account for libstoragemgmt" libstoragemgmt
%post
Index: libstoragemgmt-1.9.3/python_binding/lsm/_common.py
===================================================================
--- libstoragemgmt-1.9.3.orig/python_binding/lsm/_common.py
+++ libstoragemgmt-1.9.3/python_binding/lsm/_common.py
@@ -151,7 +151,7 @@ class Proxy(object):
diff -urEbw libstoragemgmt-1.9.6/python_binding/lsm/_common.py libstoragemgmt-1.9.6.new/python_binding/lsm/_common.py
--- libstoragemgmt-1.9.6/python_binding/lsm/_common.py 2022-04-06 19:55:18.000000000 +0200
+++ libstoragemgmt-1.9.6.new/python_binding/lsm/_common.py 2022-11-11 16:59:14.139365618 +0100
@@ -151,7 +151,7 @@
# variable in client and specified on the command line for the daemon