import mdadm-4.2-1.el9

This commit is contained in:
CentOS Sources 2022-03-01 07:53:56 -05:00 committed by Stepan Oksanichenko
parent 1ba7e7e521
commit 649c94356a
3 changed files with 13 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mdadm-4.2-rc2.tar.xz
SOURCES/mdadm-4.2.tar.xz

View File

@ -1 +1 @@
b6e99ec4b0c3953505dc2e6ef6e8f2a71a26207d SOURCES/mdadm-4.2-rc2.tar.xz
27f240cff200e00c28a486a028bcdb14f67f8790 SOURCES/mdadm-4.2.tar.xz

View File

@ -1,7 +1,10 @@
Name: mdadm
Version: 4.2
%define subversion rc2
Release: rc2_1%{?dist}.2
Release: 1%{?dist}
# If Release is not same with subversion, please define extraversion
# For example, release is rc3-1, subversion is rc3.
# extraversion should be rc3-1. This is used in Readme.c
%define extraversion 1
Summary: The mdadm program controls Linux md devices (software RAID arrays)
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
License: GPLv2+
@ -41,7 +44,8 @@ file can be used to help with some common tasks.
%autosetup -p1 -n %{name}-%{version}%{?subversion:_%{subversion}}
%build
make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
#If extraversion is defined, add EXTRAVERSION="%{extraversion}"
make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SYSCONFDIR="%{_sysconfdir}" EXTRAVERSION="%{extraversion}" mdadm mdmon
%install
make DESTDIR=%{buildroot} MANDIR=%{_mandir} BINDIR=%{_sbindir} SYSTEMD_DIR=%{_unitdir} UDEVDIR=/usr/lib/udev/ install install-systemd
@ -90,6 +94,10 @@ install -m644 %{SOURCE6} %{buildroot}/etc/libreport/events.d
/etc/libreport/events.d/*
%changelog
* Fri Dec 31 2021 Xiao Ni <xni@redhat.com> - 4.2
- Update to upstream 4.2
- Resolves rhbz#2026723, rhbz#2026532, rhbz#1995587
* Fri Aug 13 2021 Xiao Ni <xni@redhat.com> - 4.2-rc2_1.2
- Fix gating test error and rpminspect error
- Resolves rhbz#1870487, rhbz#1880529