Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
mdadm.3522
mdadm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mdadm.spec of Package mdadm.3522
# # spec file for package mdadm # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mdadm Version: 3.4 Release: 0 BuildRequires: binutils-devel BuildRequires: groff BuildRequires: pkgconfig BuildRequires: sgmltool BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) PreReq: %fillup_prereq %insserv_prereq /sbin/mkinitrd coreutils Recommends: cron Recommends: smtp_daemon Url: http://www.kernel.org/pub/linux/utils/raid/mdadm/ Summary: Utility for Configuring MD Setup License: GPL-2.0 Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz Source1: Software-RAID.HOWTO.tar.bz2 Source2: sysconfig.mdadm Source7: mdadm.cron Source10: clustermd-confirm.sh Source11: 69-clustermd.rules Patch1: 0001-super1-Fix-bblog_size-accesses-on-big-ending-machine.patch Patch2: 0002-Fix-some-type-comparison-problems.patch Patch3: 0003-Makefile-make-the-CC-definition-conditional.patch Patch4: 0004-util.c-include-poll.h-instead-of-sys-poll.h.patch Patch5: 0005-mdadm.h-rename-bswap-macros-to-avoid-clash-with-uCli.patch Patch6: 0006-Manage.c-Only-issue-change-events-for-kernels-older-.patch Patch7: 0001-Fix-wrong-bitmap-output-for-cluster-raid.patch Patch8: 0002-Remove-dead-code-about-LKF_CONVERT-flag.patch Patch9: 0003-Grow-goto-release-if-Manage_subdevs-failed.patch Patch10: 0004-Change-the-option-from-NoUpdate-to-NodeNumUpdate.patch Patch11: 0005-mdadm-Add-nodes-option-in-GROW-mode.patch Patch12: 0006-Create-check-the-node-nums-when-create-clustered-rai.patch Patch13: 0007-super1-don-t-update-node-nums-if-it-is-not-more-than.patch Patch14: 0008-super1-make-the-check-for-NodeNumUpdate-more-accurat.patch Patch15: 0009-super1-add-more-checks-for-NodeNumUpdate-option.patch Patch16: 0001-mdadm-add-clustered-in-typo-prompt-when-specify-wron.patch Patch17: 0001-fix-a-buffer-overflow.patch Patch18: 0001-make-write_bitmap1-compatible-with-previous-versions.patch Patch19: 0019-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch Patch20: 0020-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch Patch21: 0021-super1-only-set-clustered-flag-when-bitmap-is-presen.patch Patch22: 0022-Use-dev_t-for-devnm2devid-and-devid2devnm.patch Patch23: 0023-Change-behavior-in-find_free_devnm-when-wrapping-aro.patch Patch1001: 1001-Fix-regression-during-add-devices.patch Patch1002: 1002-bnc808647-retry-failed-removes.patch Patch1003: 1003-failfast.patch Patch1004: 1004-display-timeout-status.patch Patch1101: 0001-imsm-add-handling-of-sync_action-is-equal-to-idle.patch Patch1102: 0002-imsm-properly-handle-values-of-sync_completed.patch Patch1103: 0003-monitor-Make-sure-that-last_checkpoint-is-set-to-0-a.patch # PATCH-FIX-SLE bnc966773_detail-ignore_empty_inactive_arrays.patch bsc#966773 nfbrown@suse.com Patch1110: bnc966773_detail-ignore_empty_inactive_arrays.patch # PATCH-FIX-SLE 0001-udev-md-raid-assembly.rules-Skip-multipathed-devices.patch bsc#956236 nfbrown@suse.com Patch1111: 0001-udev-md-raid-assembly.rules-Skip-multipathed-devices.patch Patch1112: mdadm-wait-for-remove.patch Patch1113: 0004-Monitor-release-proc-mdstat-fd-when-no-arrays-presen.patch Patch1114: 0001-Remove-container-should-wait-for-an-array-to-release.patch # PATCH-FIX-SLE 0001-mdopen-modprobe-md_mod-if-it-might-be-needed.patch bsc#1059596 nfbrown@suse.com Patch1115: 0001-mdopen-modprobe-md_mod-if-it-might-be-needed.patch %define _udevdir %(pkg-config --variable=udevdir udev) %define _systemdshutdowndir %{_unitdir}/../system-shutdown %description Mdadm is a program that can be used to control Linux md devices. It is intended to provide all the functionality of the mdtools and raidtools programs but with a very different interface. %prep %setup -q -a1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch1001 -p1 %patch1002 -p1 %patch1003 -p1 %patch1004 -p1 %patch1101 -p1 %patch1102 -p1 %patch1103 -p1 %patch1110 -p1 %patch1111 -p1 %patch1112 -p1 %patch1113 -p1 %patch1114 -p1 %patch1115 -p1 %build make %{?_smp_mflags} CC="%__cc" CXFLAGS="$RPM_OPT_FLAGS -Wno-error" SUSE=yes cd Software-RAID.HOWTO sgml2html Software-RAID.HOWTO.sgml sgml2txt Software-RAID.HOWTO.sgml %install make install install-systemd install-udev DESTDIR=%{buildroot} SYSTEMD_DIR=%{_unitdir} UDEVDIR=%{_udevdir} SUSE=yes rm -rf %{buildroot}/lib/udev install -d %{buildroot}%{_var}/adm/fillup-templates install -d %{buildroot}/usr/share/mdadm install -m 755 misc/mdcheck %{buildroot}/usr/share/mdadm/mdcheck install -d %{buildroot}/etc/cron.daily install -m 755 %{S:7} %{buildroot}/etc/cron.daily/mdadm install -m 644 %{S:2} %{buildroot}%{_var}/adm/fillup-templates/ install -m 755 %{S:10} $RPM_BUILD_ROOT/%{_udevdir} install -m 644 %{S:11} $RPM_BUILD_ROOT/%{_udevdir}/rules.d install -d %{buildroot}%{_systemdshutdowndir} install -d %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor %define services mdmonitor.service %pre %service_add_pre %services %post /sbin/ldconfig %service_add_post %services %{?regenerate_initrd_post} %fillup_only %preun %service_del_preun %services %postun /sbin/ldconfig %service_del_postun %services %{?regenerate_initrd_post} %{insserv_cleanup} %posttrans %{?regenerate_initrd_posttrans} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING ChangeLog README.initramfs TODO mdadm.conf-example mkinitramfs %doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html} %doc %{_mandir}/man?/* /sbin/* %{_sbindir}/rcmdmonitor %dir /usr/share/mdadm /usr/share/mdadm/* %{_var}/adm/fillup-templates/sysconfig.mdadm %{_udevdir}/rules.d/63-md-raid-arrays.rules %{_udevdir}/rules.d/64-md-raid-assembly.rules %{_udevdir}/clustermd-confirm.sh %{_udevdir}/rules.d/69-clustermd.rules %dir /etc/cron.daily /etc/cron.daily/mdadm %{_systemdshutdowndir}/mdadm.shutdown %{_unitdir}/mdmon@.service %{_unitdir}/mdmonitor.service %{_unitdir}/mdadm-last-resort@.timer %{_unitdir}/mdadm-last-resort@.service %{_unitdir}/mdadm-grow-continue@.service %dir %{_unitdir}/../scripts %{_unitdir}/../scripts/mdadm_env.sh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor