From 87500856e71472d9ce99ae534400c83f26e152ee Mon Sep 17 00:00:00 2001 From: maminjie Date: Wed, 10 Mar 2021 11:07:47 +0800 Subject: [PATCH] Remove ExecReload that is not supported (cherry picked from commit 39123954c8efa0e53177646c7b131742c1272385) --- ...ove-ExecReload-that-is-not-supported.patch | 24 +++++++++++++++++++ libvma.spec | 6 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-Remove-ExecReload-that-is-not-supported.patch diff --git a/0001-Remove-ExecReload-that-is-not-supported.patch b/0001-Remove-ExecReload-that-is-not-supported.patch new file mode 100644 index 0000000..fa2522e --- /dev/null +++ b/0001-Remove-ExecReload-that-is-not-supported.patch @@ -0,0 +1,24 @@ +From 4c7049e373908e3486b64cd54522c05b3dd60ef2 Mon Sep 17 00:00:00 2001 +From: maminjie +Date: Wed, 10 Mar 2021 09:38:51 +0800 +Subject: [PATCH] Remove ExecReload that is not supported + +--- + contrib/scripts/vma.service.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/contrib/scripts/vma.service.in b/contrib/scripts/vma.service.in +index e268173..7ff50a5 100644 +--- a/contrib/scripts/vma.service.in ++++ b/contrib/scripts/vma.service.in +@@ -8,7 +8,6 @@ Type=forking + Restart=on-failure + ExecStart=@prefix@/sbin/vma start + ExecStop=@prefix@/sbin/vma stop +-ExecReload=@prefix@/sbin/vma restart + RestartForceExitStatus=1 SIGTERM + + [Install] +-- +2.23.0 + diff --git a/libvma.spec b/libvma.spec index 78a4554..c7d77b1 100644 --- a/libvma.spec +++ b/libvma.spec @@ -1,10 +1,11 @@ Name: libvma Version: 8.9.4 -Release: 8 +Release: 9 Summary: A library that boosts performance for message-based and streaming applications License: GPLv2 or BSD URL: https://github.com/Mellanox/libvma Source: https://github.com/Mellanox/libvma/archive/%{version}.tar.gz +Patch0000: 0001-Remove-ExecReload-that-is-not-supported.patch ExcludeArch: %{arm} Requires: pam Requires(post): /sbin/ldconfig @@ -67,6 +68,9 @@ Headers files for libvma. %{_pkgdocdir}/VMA_VERSION %changelog +* Wed Mar 10 2021 maminjie - 8.9.4-9 +- Remove ExecReload that is not supported + * Thu Sep 3 2020 zhaowei - 8.9.4-8 - Type: enhancement - ID: NA -- Gitee