update to version 4.2.0

This commit is contained in:
wang--ge 2023-12-26 16:26:21 +08:00
parent 233e274a04
commit 373f17514a
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
Version: 4.1.0
Release: 2
Version: 4.2.0
Release: 1
License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Kernel
Summary: dlm control daemon and tool
@ -11,6 +11,7 @@ BuildRequires: pacemaker-libs-devel >= 1.1.7
BuildRequires: libxml2-devel
BuildRequires: systemd-units
BuildRequires: systemd-devel
BuildRequires: annobin
Source0: https://releases.pagure.org/dlm/%{name}-%{version}.tar.gz
Patch0001: 0030-dlm_controld-remove-unnecessary-header-include.patch
@ -46,6 +47,12 @@ developing applications that use %{name}.
%prep
%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
CFLAGS+=$RPM_OPT_FLAGS make
@ -96,6 +103,9 @@ install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
%{_libdir}/pkgconfig/*.pc
%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
- dlm_controld: remove unnecessary header include