* [PATCH] mdadm: Update to 4.2
@ 2023-02-21 11:12 Stefan Schantl
0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2023-02-21 11:12 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]
* Depends on libudev-devel
* Install systemd files.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
mdadm/mdadm.nm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/mdadm/mdadm.nm b/mdadm/mdadm.nm
index 533795dd2..733f8ec7f 100644
--- a/mdadm/mdadm.nm
+++ b/mdadm/mdadm.nm
@@ -4,7 +4,7 @@
###############################################################################
name = mdadm
-version = 3.4
+version = 4.2
release = 1
groups = System/Base
@@ -25,6 +25,7 @@ sources = %{thisapp}.tar.xz
build
requires
+ libudev-devel
groff
end
@@ -35,10 +36,19 @@ build
end
build
- make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \
- CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1
+ make %{PARALLELISMFLAGS} \
+ CXFLAGS="%{CFLAGS}" \
+ CWFLAGS= \
+ SYSCONFDIR="%{sysconfdir}"
+ MDASSEMBLE_AUTO=1
end
+ make_install_targets += \
+ install-systemd \
+ BINDIR=%{sbindir} \
+ UDEVDIR=%{prefix}/%{lib}/udev \
+ SYSTEMD_DIR="%{unitdir}"
+
install_cmds
mkdir -pv %{BUILDROOT}/var/run/mdadm
chmod 700 %{BUILDROOT}/var/run/mdadm
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-21 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 11:12 [PATCH] mdadm: Update to 4.2 Stefan Schantl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox