[packages/mdadm] Up to 4.5

arekm arekm at pld-linux.org
Wed Jan 7 07:52:09 CET 2026


commit 853629b17b7162803059c1c4b178b001310ed271
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jan 7 07:51:46 2026 +0100

    Up to 4.5

 mdadm-includes.patch | 10 ----------
 mdadm.spec           | 11 +++++------
 2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/mdadm.spec b/mdadm.spec
index 69cd71b..4534b46 100644
--- a/mdadm.spec
+++ b/mdadm.spec
@@ -7,19 +7,19 @@
 Summary:	Tool for creating and maintaining software RAID devices
 Summary(pl.UTF-8):	Narzędzie do tworzenia i obsługi programowych macierzy RAID
 Name:		mdadm
-Version:	4.4
+Version:	4.5
 Release:	1
 License:	GPL v2+
 Group:		Base
-Source0:	https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz
-# Source0-md5:	c4bb72fdded17c9d74fcdd4a0896c97a
+#Source0:	https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz
+Source0:	https://github.com/md-raid-utilities/mdadm/archive/refs/tags/%{name}-%{version}.tar.gz
+# Source0-md5:	6c61329903607faededde9a9d7248aab
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source3:	%{name}.cron
 Source4:	%{name}-checkarray
 Source5:	cronjob-%{name}.timer
 Source6:	cronjob-%{name}.service
-Patch0:		%{name}-includes.patch
 URL:		https://www.kernel.org/pub/linux/utils/raid/mdadm/
 BuildRequires:	corosync-devel
 BuildRequires:	dlm-devel
@@ -70,8 +70,7 @@ Narzędzie do zarządzania programowymi macierzami RAID - statycznie
 skonsolidowane na potrzeby initrd.
 
 %prep
-%setup -q
-%patch -P0 -p1
+%setup -q -n %{name}-%{name}-%{version}
 
 %build
 %if %{with initrd}
diff --git a/mdadm-includes.patch b/mdadm-includes.patch
deleted file mode 100644
index 6e567cb..0000000
--- a/mdadm-includes.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- mdadm-4.4/raid6check.c.orig	2024-12-13 10:54:53.000000000 +0100
-+++ mdadm-4.4/raid6check.c	2025-09-28 20:13:58.831987773 +0200
-@@ -23,6 +23,7 @@
-  */
- 
- #include "mdadm.h"
-+#include "xmalloc.h"
- #include <stdint.h>
- #include <sys/mman.h>
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mdadm.git/commitdiff/853629b17b7162803059c1c4b178b001310ed271



More information about the pld-cvs-commit mailing list