Compare commits
10 Commits
e5a47d2dfd
...
cc0f1426d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc0f1426d7 | ||
|
|
850280de17 | ||
|
|
5c7645db4f | ||
|
|
f100257b7f | ||
|
|
fa3c60d812 | ||
|
|
a86b9088d5 | ||
|
|
9b4858540a | ||
|
|
d6440b5373 | ||
|
|
e29c487822 | ||
|
|
690faef596 |
13
Add-sanlk-reset-command-t-options.patch
Normal file
13
Add-sanlk-reset-command-t-options.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/reset/sanlk_reset.c b/reset/sanlk_reset.c
|
||||||
|
index 9e952ab..3453449 100644
|
||||||
|
--- a/reset/sanlk_reset.c
|
||||||
|
+++ b/reset/sanlk_reset.c
|
||||||
|
@@ -717,7 +717,7 @@ int main(int argc, char *argv[])
|
||||||
|
int c;
|
||||||
|
int option_index = 0;
|
||||||
|
|
||||||
|
- c = getopt_long(argc, argv, "hVi:g:w:b:R:D",
|
||||||
|
+ c = getopt_long(argc, argv, "hVi:g:w:b:R:t:D",
|
||||||
|
long_options, &option_index);
|
||||||
|
if (c == -1)
|
||||||
|
break;
|
||||||
Binary file not shown.
BIN
sanlock-3.8.5.tar.gz
Normal file
BIN
sanlock-3.8.5.tar.gz
Normal file
Binary file not shown.
20
sanlock.spec
20
sanlock.spec
@ -1,11 +1,13 @@
|
|||||||
Name: sanlock
|
Name: sanlock
|
||||||
Version: 3.8.2
|
Version: 3.8.5
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A shared storage lock manager
|
Summary: A shared storage lock manager
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+
|
License: GPLv2 and GPLv2+ and LGPLv2+
|
||||||
URL: https://pagure.io/sanlock/
|
URL: https://pagure.io/sanlock/
|
||||||
Source0: https://releases.pagure.org/sanlock/%{name}-%{version}.tar.gz
|
Source0: https://releases.pagure.org/sanlock/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch1: Add-sanlk-reset-command-t-options.patch
|
||||||
|
|
||||||
BuildRequires: libblkid-devel libaio-devel python3 python3-devel systemd-units gcc
|
BuildRequires: libblkid-devel libaio-devel python3 python3-devel systemd-units gcc
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
Requires(post): systemd-units systemd-sysv
|
Requires(post): systemd-units systemd-sysv
|
||||||
@ -33,6 +35,7 @@ for developing applications that use sanlock.
|
|||||||
%package help
|
%package help
|
||||||
Summary: maninfo for sanlock
|
Summary: maninfo for sanlock
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Buildarch: noarch
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
The sanklock-help package contains maninfo for sanlock.
|
The sanklock-help package contains maninfo for sanlock.
|
||||||
@ -150,6 +153,21 @@ getent passwd sanlock > /dev/null || /usr/sbin/useradd \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 21 2024 Jiuwang He <hejiuwang@cqsoftware.com.cn> - 3.8.5-2
|
||||||
|
- Add Buildarch: noarch to the help subpackage
|
||||||
|
|
||||||
|
* Wed Apr 12 2023 wangjie5911 <jiewangaw@isoftstone.com> - 3.8.5-1
|
||||||
|
- update to 3.8.5 and sync patch Add sanlk_reset command t options.
|
||||||
|
|
||||||
|
* Wed Mar 08 2023 xu_ping <xu_ping33@h-pattners.com> - 3.8.4-3
|
||||||
|
- fix sanlk-reset -t command error.
|
||||||
|
|
||||||
|
* Wed Oct 19 2022 lihaoxiang <lihaoxiang9@huawei.com> - 3.8.4-2
|
||||||
|
- sanlock:fix memory leak of lockspace renewal history
|
||||||
|
|
||||||
|
* Tue Nov 23 2021 yanglongkang <yanglongkang@huawei.com> - 3.8.4-1
|
||||||
|
- update to 3.8.4
|
||||||
|
|
||||||
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 3.8.2-2
|
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 3.8.2-2
|
||||||
- add buildrequire gcc.
|
- add buildrequire gcc.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user