diff --git a/dlm-4.1.0.tar.gz b/dlm-4.1.0.tar.gz deleted file mode 100644 index 8dc2b23..0000000 Binary files a/dlm-4.1.0.tar.gz and /dev/null differ diff --git a/dlm-4.2.0.tar.gz b/dlm-4.2.0.tar.gz new file mode 100644 index 0000000..02fdb3a Binary files /dev/null and b/dlm-4.2.0.tar.gz differ diff --git a/dlm.spec b/dlm.spec index cf72905..e04999d 100644 --- a/dlm.spec +++ b/dlm.spec @@ -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 - 4.2.0-1 +- Update to version 4.2.0 + * Tue Jul 18 2023 chenchen - 4.1.0-2 - dlm_controld: remove unnecessary header include