update to 4.2 [release 4.2-1mamba;Tue Jan 11 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:02:00 +01:00
parent d41b6b3cc7
commit baae0b6d36
2 changed files with 24 additions and 23 deletions

View File

@ -3,3 +3,4 @@
mdadm is a program that can be used to create, manage, and monitor Linux MD (Software RAID) devices. mdadm is a program that can be used to create, manage, and monitor Linux MD (Software RAID) devices.
As such is provides similar functionality to the raidtools packages. As such is provides similar functionality to the raidtools packages.
The particular differences to raidtools is that mdadm is a single program, and it can perform (almost) all functions without a configuration file (that a config file can be used to help with some common tasks). The particular differences to raidtools is that mdadm is a single program, and it can perform (almost) all functions without a configuration file (that a config file can be used to help with some common tasks).

View File

@ -1,12 +1,12 @@
Name: mdadm Name: mdadm
Version: 4.1 Version: 4.2
Release: 2mamba Release: 1mamba
Summary: A tool to manage MD devices aka Linux Software RAID Summary: A tool to manage MD devices aka Linux Software RAID
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://neil.brown.name/blog/mdadm URL: https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
Patch0: mdadm-3.3.1-gcc-4.9.patch Patch0: mdadm-3.3.1-gcc-4.9.patch
Patch1: mdadm-3.4-i586-gcc-5.3.0.patch Patch1: mdadm-3.4-i586-gcc-5.3.0.patch
@ -14,24 +14,17 @@ Patch2: mdadm-4.1-no-Werror.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%systemd_requires %systemd_requires
Provides: mdadm-static Provides: mdadm-static
Obsoletes: mdadm-static Obsoletes: mdadm-static < 4.1
%description %description
mdadm is a program that can be used to create, manage, and monitor Linux MD (Software RAID) devices. mdadm is a program that can be used to create, manage, and monitor Linux MD (Software RAID) devices.
As such is provides similar functionality to the raidtools packages. As such is provides similar functionality to the raidtools packages.
The particular differences to raidtools is that mdadm is a single program, and it can perform (almost) all functions without a configuration file (that a config file can be used to help with some common tasks). The particular differences to raidtools is that mdadm is a single program, and it can perform (almost) all functions without a configuration file (that a config file can be used to help with some common tasks).
#%package static
#Group: System/Kernel and Hardware
#Summary: A tool to manage MD devices aka Linux Software RAID (static binary)
#
#%description static
#A tool to manage MD devices aka Linux Software RAID (static binary).
%debug_package %debug_package
%prep %prep
@ -42,14 +35,16 @@ The particular differences to raidtools is that mdadm is a single program, and i
%patch2 -p1 %patch2 -p1
%build %build
%make %make \
SYSTEMD_DIR=%{_unitdir}
#%make mdadm.static #% make mdadm.static
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall install-systemd \ %makeinstall install-systemd \
BINDIR=/sbin SYSTEMD_DIR=%{_unitdir} \
BINDIR=%{_sbindir}
install -D -m 644 %{name}.conf-example \ install -D -m 644 %{name}.conf-example \
%{buildroot}%{_sysconfdir}/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
@ -63,10 +58,16 @@ install -D -m 644 %{name}.conf-example \
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf %config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
/sbin/%{name} %{_sbindir}/%{name}
/sbin/mdmon %{_sbindir}/mdmon
%{_udevrulesdir}/*.rules %{_udevrulesdir}/*.rules
/lib/systemd/system-shutdown/mdadm.shutdown %{_systemd_util_dir}/system-shutdown/mdadm.shutdown
%{_unitdir}/mdcheck_continue.service
%{_unitdir}/mdcheck_continue.timer
%{_unitdir}/mdcheck_start.service
%{_unitdir}/mdcheck_start.timer
%{_unitdir}/mdmonitor-oneshot.service
%{_unitdir}/mdmonitor-oneshot.timer
%{_unitdir}/mdadm-grow-continue@.service %{_unitdir}/mdadm-grow-continue@.service
%{_unitdir}/mdadm-last-resort@.service %{_unitdir}/mdadm-last-resort@.service
%{_unitdir}/mdadm-last-resort@.timer %{_unitdir}/mdadm-last-resort@.timer
@ -78,11 +79,10 @@ install -D -m 644 %{name}.conf-example \
%doc COPYING %doc COPYING
# ChangeLog README.initramfs TODO # ChangeLog README.initramfs TODO
#%files static
#%defattr(-,root,root)
#%{_sbindir}/%{name}.static
%changelog %changelog
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-1mamba
- update to 4.2
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-2mamba * Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-2mamba
- rebuilt with debug package - rebuilt with debug package