Accepting request 828553 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/828553 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=25
This commit is contained in:
commit
a723f1c2e8
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="filename">sanlock</param>
|
||||||
|
<param name="revision">01b727adf1ce3c0ed5b95299d60f62bc66d98eb5</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="submodules">disable</param>
|
||||||
|
<param name="url">https://pagure.io/sanlock</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">^sanlock[-]?(.*)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:943eb570d4cd9d24a63beae9d85d0a6f2127c04750ae9de6bb9fc6ed8c2fce6a
|
|
||||||
size 272945
|
|
3
sanlock-3.8.2.tar.xz
Normal file
3
sanlock-3.8.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f0a2235309b513bcec38fb773a0d96cbed55d5fcd7ba95862efdd043059f2439
|
||||||
|
size 199544
|
@ -1,16 +0,0 @@
|
|||||||
Do not mix -fPIC and -FPIE, it is causing issue in LTO mode
|
|
||||||
(boo#1138836).
|
|
||||||
|
|
||||||
Index: sanlock-3.8.1/python/setup.py
|
|
||||||
===================================================================
|
|
||||||
--- sanlock-3.8.1.orig/python/setup.py
|
|
||||||
+++ sanlock-3.8.1/python/setup.py
|
|
||||||
@@ -12,7 +12,7 @@ sanlock = Extension(name='sanlock',
|
|
||||||
include_dirs=['../src'],
|
|
||||||
library_dirs=['../src'],
|
|
||||||
extra_compile_args=["-std=c99"],
|
|
||||||
- extra_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
|
|
||||||
+ extra_link_args=['-Wl,-z,relro,-z,now'],
|
|
||||||
libraries=sanlocklib)
|
|
||||||
|
|
||||||
version = None
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 22:48:21 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Update to sanlock 3.8.2
|
||||||
|
- Remove extra link args
|
||||||
|
- Add write_init_io_timeout
|
||||||
|
- Disable high_priority SCHED_RR by default
|
||||||
|
- Dropped patches:
|
||||||
|
sanlock-lto-disable-fpie.patch
|
||||||
|
- Add tar_scm source service and use xz compression
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 13 21:39:12 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
Mon Jul 13 21:39:12 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
@ -28,13 +28,13 @@
|
|||||||
%endif
|
%endif
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: sanlock
|
Name: sanlock
|
||||||
Version: 3.8.1
|
Version: 3.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A shared disk lock manager
|
Summary: A shared disk lock manager
|
||||||
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
URL: https://pagure.io/sanlock
|
URL: https://pagure.io/sanlock
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: sysconfig.sanlock
|
Source1: sysconfig.sanlock
|
||||||
Source2: sysconfig.wdmd
|
Source2: sysconfig.wdmd
|
||||||
Source3: fence_sanlockd.init
|
Source3: fence_sanlockd.init
|
||||||
@ -44,7 +44,6 @@ Patch100: sanlock-SCHED_RESET_ON_FORK-undefined.patch
|
|||||||
Patch101: sanlock-python-prefix.patch
|
Patch101: sanlock-python-prefix.patch
|
||||||
Patch102: suse-systemd.patch
|
Patch102: suse-systemd.patch
|
||||||
Patch103: suse-no-date-time.patch
|
Patch103: suse-no-date-time.patch
|
||||||
Patch104: sanlock-lto-disable-fpie.patch
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -131,7 +130,6 @@ common sanlock lockspace.
|
|||||||
%patch101
|
%patch101
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
%patch103 -p1
|
%patch103 -p1
|
||||||
%patch104 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# upstream does not require configure
|
# upstream does not require configure
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: sanlock-3.8.1/src/main.c
|
Index: sanlock-3.8.2/src/main.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sanlock-3.8.1.orig/src/main.c
|
--- sanlock-3.8.2.orig/src/main.c
|
||||||
+++ sanlock-3.8.1/src/main.c
|
+++ sanlock-3.8.2/src/main.c
|
||||||
@@ -2183,8 +2183,8 @@ static int read_command_line(int argc, c
|
@@ -2183,8 +2183,8 @@ static int read_command_line(int argc, c
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,10 +13,10 @@ Index: sanlock-3.8.1/src/main.c
|
|||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: sanlock-3.8.1/fence_sanlock/fence_sanlockd.c
|
Index: sanlock-3.8.2/fence_sanlock/fence_sanlockd.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sanlock-3.8.1.orig/fence_sanlock/fence_sanlockd.c
|
--- sanlock-3.8.2.orig/fence_sanlock/fence_sanlockd.c
|
||||||
+++ sanlock-3.8.1/fence_sanlock/fence_sanlockd.c
|
+++ sanlock-3.8.2/fence_sanlock/fence_sanlockd.c
|
||||||
@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
|
@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
|
||||||
print_usage();
|
print_usage();
|
||||||
exit(0);
|
exit(0);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: sanlock-3.8.1/init.d/sanlock.service
|
Index: sanlock-3.8.2/init.d/sanlock.service
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sanlock-3.8.1.orig/init.d/sanlock.service
|
--- sanlock-3.8.2.orig/init.d/sanlock.service
|
||||||
+++ sanlock-3.8.1/init.d/sanlock.service
|
+++ sanlock-3.8.2/init.d/sanlock.service
|
||||||
@@ -5,8 +5,10 @@ Wants=wdmd.service
|
@@ -5,8 +5,10 @@ Wants=wdmd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -15,10 +15,10 @@ Index: sanlock-3.8.1/init.d/sanlock.service
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Index: sanlock-3.8.1/init.d/wdmd.service
|
Index: sanlock-3.8.2/init.d/wdmd.service
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sanlock-3.8.1.orig/init.d/wdmd.service
|
--- sanlock-3.8.2.orig/init.d/wdmd.service
|
||||||
+++ sanlock-3.8.1/init.d/wdmd.service
|
+++ sanlock-3.8.2/init.d/wdmd.service
|
||||||
@@ -4,8 +4,10 @@ After=syslog.target
|
@@ -4,8 +4,10 @@ After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -32,10 +32,10 @@ Index: sanlock-3.8.1/init.d/wdmd.service
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Index: sanlock-3.8.1/init.d/fence_sanlockd.service
|
Index: sanlock-3.8.2/init.d/fence_sanlockd.service
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sanlock-3.8.1.orig/init.d/fence_sanlockd.service
|
--- sanlock-3.8.2.orig/init.d/fence_sanlockd.service
|
||||||
+++ sanlock-3.8.1/init.d/fence_sanlockd.service
|
+++ sanlock-3.8.2/init.d/fence_sanlockd.service
|
||||||
@@ -5,8 +5,8 @@ Before=corosync.service
|
@@ -5,8 +5,8 @@ Before=corosync.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
Reference in New Issue
Block a user