diff --git a/disable-Werror.patch b/disable-Werror.patch index 2d52c67fa9b2713dd95d044c92bb4ff8af6cd1e9..f8657b89576a7d858b82d1b29d85039d6a4a3e6a 100644 --- a/disable-Werror.patch +++ b/disable-Werror.patch @@ -4,8 +4,8 @@ CC := $(CROSS_COMPILE)gcc endif CXFLAGS ?= -ggdb --CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter +-CWFLAGS ?= -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds ++CWFLAGS ?= -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds ifdef WARN_UNUSED - CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 + CWFLAGS += -Wp -O3 endif diff --git a/mdadm-4.2.tar.xz b/mdadm-4.2.tar.xz deleted file mode 100644 index ce190ba3dc36ca85275727e297994035138286e3..0000000000000000000000000000000000000000 Binary files a/mdadm-4.2.tar.xz and /dev/null differ diff --git a/mdadm-4.3.tar.xz b/mdadm-4.3.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..de58ca08e0a212f03c304bb9522cb7901e3a97ab Binary files /dev/null and b/mdadm-4.3.tar.xz differ diff --git a/mdadm.spec b/mdadm.spec index aaf6519f335f679bf6300e7e2ca8269b82c6a82f..a3c8c53e43e45bb2c5b0bfd47c5960896b13154c 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,7 +1,7 @@ -%define anolis_release 3 +%define anolis_release 1 Name: mdadm -Version: 4.2 +Version: 4.3 Release: %{anolis_release}%{?dist} Summary: The mdadm program controls Linux md devices (software RAID arrays) URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ @@ -90,6 +90,9 @@ install -m644 %{SOURCE6} %{buildroot}/etc/libreport/events.d /etc/libreport/events.d/* %changelog +* Tue Mar 18 2025 mgb01105731 - 4.3-1 +- Update to 4.3 from 4.2 + * Tue Oct 18 2022 mgb01105731 - 4.2-3 - optimise spec file