Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sanlock for openSUSE:Factory checked 
in at 2026-04-08 17:13:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sanlock (Old)
 and      /work/SRC/openSUSE:Factory/.sanlock.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sanlock"

Wed Apr  8 17:13:22 2026 rev:39 rq:1344794 version:5.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sanlock/sanlock.changes  2026-03-28 
20:14:16.339704215 +0100
+++ /work/SRC/openSUSE:Factory/.sanlock.new.21863/sanlock.changes       
2026-04-08 17:13:26.746285083 +0200
@@ -1,0 +2,22 @@
+Mon Apr 06 20:14:43 UTC 2026 - [email protected]
+
+- Update to version 5.1.0:
+  * release 5.1.0
+  * sanlock: add settings for caw fua and dpo
+  * sanlock: add debug for dm errors
+  * sanlock: fix compare and write on device with minor number 0
+  * sanlock: rename sanlock.service.native to sanlock.service
+  * remove: old service files no longer used
+  * remove: fence_sanlock reset python
+  * remove outdated files
+  * With '-Wl,--no-undefined' added to the library link flags in src/Makefile, 
the following errors are observed
+  * sanlock: add SANLK_REL_NO_DISK
+- spec: Disable building python bindings since they have been
+  abandoned upstream. Dropped sanlock-python-prefix.patch
+
+-------------------------------------------------------------------
+Mon Apr  6 14:23:04 UTC 2026 - James Fehlig <[email protected]>
+
+- Update spec and service file with new sanlock project URL
+
+-------------------------------------------------------------------

Old:
----
  _multibuild
  sanlock-5.0.0.tar.xz
  sanlock-python-prefix.patch

New:
----
  sanlock-5.1.0.tar.xz

----------(Old B)----------
  Old:- spec: Disable building python bindings since they have been
  abandoned upstream. Dropped sanlock-python-prefix.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sanlock.spec ++++++
--- /var/tmp/diff_new_pack.kuUajj/_old  2026-04-08 17:13:28.006336888 +0200
+++ /var/tmp/diff_new_pack.kuUajj/_new  2026-04-08 17:13:28.006336888 +0200
@@ -16,57 +16,32 @@
 #
 
 
-%global flavor @BUILD_FLAVOR@%{nil}
-%if "%{flavor}" == "python"
-%global pprefix python-
-%define oldpython python
-%bcond_without python
-%bcond_without python2
-%else
-%global pprefix %{nil}
-%bcond_with python
-%bcond_with python2
-%endif
-
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 %define pname   sanlock
-Name:           %{pprefix}%{pname}
-Version:        5.0.0
+Name:           %{pname}
+Version:        5.1.0
 Release:        0
-%if ! %{with python}
 Summary:        A shared disk lock manager
 License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          System/Base
-%else
-Summary:        Python bindings for the sanlock library
-License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
-Group:          System/Base
-%endif
-URL:            https://pagure.io/sanlock
+URL:            https://codeberg.org/sanlock/sanlock
 Source0:        %{pname}-%{version}.tar.xz
 Source1:        sysconfig.sanlock
 Source2:        sysconfig.wdmd
 # Upstream patches
 # SUSE patches
 Patch100:       sanlock-SCHED_RESET_ON_FORK-undefined.patch
-Patch101:       sanlock-python-prefix.patch
-Patch102:       suse-systemd.patch
-Patch103:       suse-no-date-time.patch
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wheel}
+Patch101:       suse-systemd.patch
+Patch102:       suse-no-date-time.patch
 BuildRequires:  device-mapper-devel
 BuildRequires:  libaio-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-rpm-macros
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(uuid)
-%if ! %{with python}
 Requires(pre):  %fillup_prereq
 Requires(pre):  shadow
 Provides:       group(sanlock)
@@ -76,24 +51,11 @@
 %if 0%{?suse_version} >= 1500
 Requires(pre):  group(disk)
 %endif
-%else
-BuildRequires:  %{pname}-devel = %{version}
-Provides:       sanlock-python
-%if "%{python_flavor}" == "python2"
-Provides:       %{oldpython}-%{pname}
-%endif
-%endif
-%python_subpackages
 
 %description
 sanlock uses disk paxos to manage leases on shared storage.
 Hosts connected to a common SAN can use this to synchronize their
 access to the shared disks.
-%if %{with python}
-This package provides a module that permits applications written in
-the Python programming language to use the interface supplied by the
-sanlock library.
-%endif
 
 %package        -n libsanlock1
 Summary:        A shared disk lock manager library
@@ -114,47 +76,19 @@
 The %{pname}-devel package contains libraries and header files for
 developing applications that use %{pname}.
 
-%package        -n fence-sanlock
-Summary:        Fence agent using sanlock and wdmd
-Group:          System/Base
-Requires:       sanlock = %{version}-%{release}
-
-%description    -n fence-sanlock
-Fence agent and daemon for using sanlock and wdmd as a cluster fence agent.
-
-%package -n     sanlk-reset
-Summary:        Host reset daemon and client using sanlock
-Group:          System/Base
-Requires:       libsanlock1 = %{version}-%{release}
-Requires:       sanlock = %{version}-%{release}
-
-%description -n sanlk-reset
-The reset daemon and client for sanlock.
-A cooperating host running the daemon can be reset by a host
-running the client, so long as both maintain access to a
-common sanlock lockspace.
-
 %prep
 %setup -q -n %{pname}-%{version}
 %patch -P 100
-%patch -P 101
+%patch -P 101 -p1
 %patch -P 102 -p1
-%patch -P 103 -p1
 
 %build
-%if ! %{with python}
 # upstream does not require configure
 # upstream does not support _smp_mflags
 CFLAGS="%{optflags}" make -j1 -C wdmd
 CFLAGS="%{optflags}" make -j1 -C src
-%else
-pushd python
-CFLAGS="%{optflags} -fno-strict-aliasing" %pyproject_wheel
-popd
-%endif
 
 %install
-%if ! %{with python}
 %make_install LIBDIR=%{_libdir} -C src
 %make_install LIBDIR=%{_libdir} -C wdmd
 
@@ -171,13 +105,7 @@
        %{buildroot}%{_sysconfdir}/logrotate.d/sanlock
 
 install -Dd -m 0755 %{buildroot}%{_sysconfdir}/wdmd.d
-%else
-pushd python
-%pyproject_install
-popd
-%endif
 
-%if ! %{with python}
 %pre -n %{pname}
 getent group sanlock > /dev/null || groupadd \
        -g 179 sanlock
@@ -238,10 +166,3 @@
 %{_libdir}/pkgconfig/libsanlock.pc
 %{_libdir}/pkgconfig/libsanlock_client.pc
 
-%else
-
-%files %{python_files}
-%{python_sitearch}/sanlock*.so
-%{python_sitearch}/sanlock_python-%{version}.dist-info
-%endif
-

++++++ _service ++++++
--- /var/tmp/diff_new_pack.kuUajj/_old  2026-04-08 17:13:28.050338697 +0200
+++ /var/tmp/diff_new_pack.kuUajj/_new  2026-04-08 17:13:28.054338862 +0200
@@ -1,10 +1,10 @@
 <services>
   <service name="tar_scm" mode="manual">
     <param name="filename">sanlock</param>
-    <param name="revision">dbf6e4dd64d1b2d518ea9241d8921dec0464b60d</param>
+    <param name="revision">995685ac3ad8909cb7562e74dd13e3b450833d9c</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
-    <param name="url">https://pagure.io/sanlock</param>
+    <param name="url">https://codeberg.org/sanlock/sanlock</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">^sanlock[-]?(.*)</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.kuUajj/_old  2026-04-08 17:13:28.074339684 +0200
+++ /var/tmp/diff_new_pack.kuUajj/_new  2026-04-08 17:13:28.082340013 +0200
@@ -1,6 +1,8 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://pagure.io/sanlock</param>
-              <param 
name="changesrevision">dbf6e4dd64d1b2d518ea9241d8921dec0464b60d</param></service></servicedata>
+              <param 
name="changesrevision">dbf6e4dd64d1b2d518ea9241d8921dec0464b60d</param></service><service
 name="tar_scm">
+                <param name="url">https://codeberg.org/sanlock/sanlock</param>
+              <param 
name="changesrevision">995685ac3ad8909cb7562e74dd13e3b450833d9c</param></service></servicedata>
 (No newline at EOF)
 

++++++ sanlock-5.0.0.tar.xz -> sanlock-5.1.0.tar.xz ++++++
++++ 7796 lines of diff (skipped)

++++++ suse-no-date-time.patch ++++++
--- /var/tmp/diff_new_pack.kuUajj/_old  2026-04-08 17:13:28.302349059 +0200
+++ /var/tmp/diff_new_pack.kuUajj/_new  2026-04-08 17:13:28.302349059 +0200
@@ -1,8 +1,8 @@
-Index: sanlock-3.9.5/src/main.c
+Index: sanlock-5.1.0/src/main.c
 ===================================================================
---- sanlock-3.9.5.orig/src/main.c
-+++ sanlock-3.9.5/src/main.c
-@@ -2389,8 +2389,8 @@ static int read_command_line(int argc, c
+--- sanlock-5.1.0.orig/src/main.c
++++ sanlock-5.1.0/src/main.c
+@@ -2455,8 +2455,8 @@ static int read_command_line(int argc, c
        }
  
        if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
@@ -13,18 +13,4 @@
                exit(EXIT_SUCCESS);
        }
  
-Index: sanlock-3.9.5/fence_sanlock/fence_sanlockd.c
-===================================================================
---- sanlock-3.9.5.orig/fence_sanlock/fence_sanlockd.c
-+++ sanlock-3.9.5/fence_sanlock/fence_sanlockd.c
-@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
-                       print_usage();
-                       exit(0);
-               case 'V':
--                      printf("fence_sanlockd %s (built %s %s)\n",
--                              VERSION, __DATE__, __TIME__);
-+                      printf("fence_sanlockd %s\n", VERSION);
-                       exit(0);
-               case EOF:
-                       cont = 0;
 

++++++ suse-systemd.patch ++++++
--- /var/tmp/diff_new_pack.kuUajj/_old  2026-04-08 17:13:28.318349716 +0200
+++ /var/tmp/diff_new_pack.kuUajj/_new  2026-04-08 17:13:28.326350045 +0200
@@ -1,50 +1,29 @@
-Index: sanlock-3.9.5/init.d/sanlock.service
+Index: sanlock-5.1.0/init.d/sanlock.service
 ===================================================================
---- sanlock-3.9.5.orig/init.d/sanlock.service
-+++ sanlock-3.9.5/init.d/sanlock.service
-@@ -5,8 +5,10 @@ Wants=wdmd.service
+--- sanlock-5.1.0.orig/init.d/sanlock.service
++++ sanlock-5.1.0/init.d/sanlock.service
+@@ -6,7 +6,8 @@ Wants=wdmd.service
  
  [Service]
  Type=forking
--ExecStart=/lib/systemd/systemd-sanlock start
--ExecStop=/lib/systemd/systemd-sanlock stop
+-ExecStart=/usr/sbin/sanlock daemon
 +EnvironmentFile=-/etc/sysconfig/sanlock
 +ExecStart=/usr/sbin/sanlock daemon $SANLOCKOPTS
-+ExecStop=/bin/kill -TERM $MAINPID
-+ExecReload=/bin/kill -HUP $MAINPID
+ SendSIGKILL=no
+ LimitNOFILE=2048
  
- [Install]
- WantedBy=multi-user.target
-Index: sanlock-3.9.5/init.d/wdmd.service
+Index: sanlock-5.1.0/init.d/wdmd.service
 ===================================================================
---- sanlock-3.9.5.orig/init.d/wdmd.service
-+++ sanlock-3.9.5/init.d/wdmd.service
-@@ -5,8 +5,10 @@ After=syslog.target
+--- sanlock-5.1.0.orig/init.d/wdmd.service
++++ sanlock-5.1.0/init.d/wdmd.service
+@@ -6,7 +6,8 @@ After=syslog.socket
  [Service]
  Type=forking
  ExecStartPre=/lib/systemd/systemd-wdmd watchdog-check
 -ExecStart=/usr/sbin/wdmd
--SendSIGKILL=no
 +EnvironmentFile=-/etc/sysconfig/wdmd
 +ExecStart=/usr/sbin/wdmd $WDMDOPTS
-+ExecStop=/bin/kill -TERM $MAINPID
-+ExecReload=/bin/kill -HUP $MAINPID
- 
- [Install]
- WantedBy=multi-user.target
-Index: sanlock-3.9.5/init.d/fence_sanlockd.service
-===================================================================
---- sanlock-3.9.5.orig/init.d/fence_sanlockd.service
-+++ sanlock-3.9.5/init.d/fence_sanlockd.service
-@@ -5,8 +5,8 @@ Before=corosync.service
- 
- [Service]
- Type=forking
--ExecStart=/lib/systemd/systemd-fence_sanlockd start
--ExecStop=/lib/systemd/systemd-fence_sanlockd stop
-+ExecStart=/usr/lib/systemd/systemd-fence_sanlockd start
-+ExecStop=/usr/lib/systemd/systemd-fence_sanlockd stop
+ SendSIGKILL=no
  
  [Install]
- WantedBy=multi-user.target
 

Reply via email to