!7 Update to version 4.2.0

From: @wang--ge 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-12-26 10:38:29 +00:00 committed by Gitee
commit 37bc7f33c1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 12 additions and 2 deletions

Binary file not shown.

BIN
dlm-4.2.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: dlm Name: dlm
Version: 4.1.0 Version: 4.2.0
Release: 2 Release: 1
License: GPLv2 and GPLv2+ and LGPLv2+ License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Kernel Group: System Environment/Kernel
Summary: dlm control daemon and tool Summary: dlm control daemon and tool
@ -11,6 +11,7 @@ BuildRequires: pacemaker-libs-devel >= 1.1.7
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: systemd-units BuildRequires: systemd-units
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: annobin
Source0: https://releases.pagure.org/dlm/%{name}-%{version}.tar.gz Source0: https://releases.pagure.org/dlm/%{name}-%{version}.tar.gz
Patch0001: 0030-dlm_controld-remove-unnecessary-header-include.patch Patch0001: 0030-dlm_controld-remove-unnecessary-header-include.patch
@ -46,6 +47,12 @@ developing applications that use %{name}.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%ifarch aarch64
sed -i 's/-fcf-protection=full//g' libdlm/Makefile
sed -i 's/-fcf-protection=full//g' dlm_controld/Makefile
sed -i 's/-fcf-protection=full//g' dlm_tool/Makefile
sed -i 's/-fcf-protection=full//g' fence/Makefile
%endif
%build %build
CFLAGS+=$RPM_OPT_FLAGS make CFLAGS+=$RPM_OPT_FLAGS make
@ -96,6 +103,9 @@ install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Tue Dec 26 2023 Ge Wang <wang__ge@126.com> - 4.2.0-1
- Update to version 4.2.0
* Tue Jul 18 2023 chenchen <chen_aka_jan@163.com> - 4.1.0-2 * Tue Jul 18 2023 chenchen <chen_aka_jan@163.com> - 4.1.0-2
- dlm_controld: remove unnecessary header include - dlm_controld: remove unnecessary header include