Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
mdadm.1739
mdadm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mdadm.spec of Package mdadm.1739
# # spec file for package mdadm # # Copyright (c) 2016 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.3.1 Release: 0 BuildRequires: binutils-devel BuildRequires: groff BuildRequires: pkgconfig BuildRequires: sgmltool BuildRequires: udev BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) PreReq: %fillup_prereq %insserv_prereq /sbin/mkinitrd Recommends: cron Recommends: smtp_daemon Obsoletes: raidtools 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 Source3: cron.d.mdadm Source7: mdadm.cron # PATCH-FEATURE-SLE failfast Fate#311379 nfbrown@suse.de Patch1: failfast # PATCH-FEATURE-SLE failfast Fate#311379 nfbrown@suse.de Patch2: display-timeout-status # PATCH-FIX-SLE bnc808647-retry-failed-removes.patch bnc#808647 nfbrown@suse.de Patch3: bnc808647-retry-failed-removes.patch # PATCH-FIX-UPSTREAM 0001-Makefile-install-mdadm-grow-continue-.service.patch nfbrown@suse.de Patch4: 0001-Makefile-install-mdadm-grow-continue-.service.patch # PATCH-FIX-UPSTREAM 0001-Grow-fix-removal-of-line-in-wrong-case.patch bnc#881530 nfbrown@suse.de Patch5: 0001-Grow-fix-removal-of-line-in-wrong-case.patch # PATCH-FIX-UPSREAM 0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch bnc#882634 nfbrown@suse.de Patch6: 0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch # PATCH-FIX-UPSTREAM 0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch bnc#887773 nfbrown@suse.de Patch7: 0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch Patch8: 0001-Create-n-bitmaps-for-clustered-mode.patch Patch9: 0002-Add-nodes-option-while-creating-md.patch Patch10: 0003-Set-home-cluster-while-creating-an-array.patch Patch11: 0004-Show-all-bitmaps-while-examining-bitmap.patch Patch12: 0005-Add-a-new-clustered-disk.patch Patch13: 0006-Convert-a-bitmap-none-device-to-clustered.patch Patch14: 0007-Skip-clustered-devices-in-incremental.patch Patch15: 0008-mdadm-add-the-ability-to-change-cluster-name.patch Patch16: 0009-mdadm-change-the-num-of-cluster-node.patch Patch17: 0010-Reuse-calc_bitmap_size-to-reduce-code-size.patch Patch18: 0011-Safeguard-against-writing-to-an-active-device-of-ano.patch Patch21: 0001-imsm-support-for-OROMs-shared-by-multiple-HBAs.patch Patch22: 0002-imsm-support-for-second-and-combined-AHCI-controller.patch Patch23: 0003-imsm-add-support-for-NVMe-devices.patch Patch24: 0004-imsm-detail-platform-improvements.patch Patch25: 0005-imsm-use-efivarfs-interface-for-reading-UEFI-variabl.patch Patch26: 0001-Increment-version-for-clustered-bitmaps.patch Patch27: 0001-mdmon-don-t-include-super0-and-super1-in-mdmon.patch Patch28: 0001-config-new-option-to-suppress-adding-bad-block-lists.patch Patch29: 0002-Do-not-create-bad-block-log-for-clustered-devices.patch Patch30: 0003-Fix-incremental-to-not-create-an-array-but-add-to-ex.patch Patch31: 0001-Assemble-correctly-capture-error-from-write_bitmap.patch Patch32: 0002-main-remove-use-of-uninitialized-rv.patch Patch33: 0003-Assemble-don-t-assemble-IMSM-array-without-OROM.patch Patch34: 0004-Assemble-really-don-t-assemble-IMSM-array-without-OR.patch Patch35: 0001-IMSM-Clear-migration-record-on-disks-more-often.patch Patch36: 0002-imsm-simplified-multiple-OROMs-support.patch Patch37: 0002-IMSM-Count-arrays-per-orom.patch Patch38: 0002-mdadm-make-cluster-raid-also-could-support-re-add.patch Patch39: 0001-re-add-make-re-add-try-to-write-sysfs-node-first.patch Patch40: 0001-DDF-_write_super_to_disk-fix-anchor-header-type.patch # PATCH-FIX-SLE bsc#952644 mdadm-952644.tgz nfbrown@suse.de Patch41: 0001-Manage-simplify-rdev-handling-in-Manage_subdevs.patch Patch42: 0002-util-split-get_maj_min-out-from-dev_open.patch Patch43: 0003-Manage-fix-removal-of-non-existent-devices.patch # PATCH-FIX-UPSTREAM 0001-Fix-regression-during-add-devices.patch bsc#953380 colyli@suse.de Patch44: 0001-Fix-regression-during-add-devices.patch Patch45: 0001-mdadm-remove-the-cluster-md-related-infos-from-doc.patch # PATCH-FIX-SLE bsc#954769 colyli@suse.de Patch46: 0001-Detail-fix-handling-of-disks-array.patch Patch47: 0002-Detail-report-correct-raid-disk-for-removed-drives.patch Patch48: 0003-Detail-don-t-assume-a-particular-disk-number-of-miss.patch Patch49: 0004-Detail-fix-wrong-condition-in-recent-change.patch Patch50: 0001-Manage-fix-test-for-is-array-failed.patch # PATCH-FIX-UPSTREAM 0001-super1-Fix-bblog_size-accesses-on-big-ending-machine.patch bsc#953595 nfbrown@suse.com Patch51: 0001-super1-Fix-bblog_size-accesses-on-big-ending-machine.patch # PATCH-FIX-UPSTREAM 0001-systemd-mdadm-last-resort-add-Conflicts-to-.service-.patch bsc#853944 nfbrown@suse.com Patch52: 0001-systemd-mdadm-last-resort-add-Conflicts-to-.service-.patch # PATCH-FIX-UPSTREAM 0001-mdcheck-don-t-git-error-if-not-dev-md-devices-exist.patch bsc#957886 nfbrown@suse.com Patch53: 0001-mdcheck-don-t-git-error-if-not-dev-md-devices-exist.patch # PATCH-FIX-UPSTREAM 0002-mdcheck-be-careful-when-sourcing-the-output-of-mdadm.patch bsc#957886 nfbrown@suse.com Patch54: 0002-mdcheck-be-careful-when-sourcing-the-output-of-mdadm.patch # PATCH-FIX-SLE mdadm-wait-for-remove.patch bsc#974154 nfbrown@suse.com Patch55: mdadm-wait-for-remove.patch # PATCH-FIX-UPSTREAM 0001-Detail.c-test-fix.patch bsc#974154 nfbrown@suse.com Patch56: 0001-Detail.c-test-fix.patch # PATCH-FIX-UPSTREAM 0001-Manage-when-re-adding-do-check-avail-size-if-sb-cann.patch bsc#974154,bsc#958597 nfbrown@suse.com Patch57: 0001-Manage-when-re-adding-do-check-avail-size-if-sb-cann.patch # PATCH-FIX-SLE bnc966773_detail-ignore_empty_inactive_arrays.patch bsc#966773 nfbrown@suse.com Patch58: bnc966773_detail-ignore_empty_inactive_arrays.patch # PATCH-FIX-UPSTREAM 0001-Detail-Avoid-dereferencing-some-NULL-pointers.patch bsc#939124 nfbrown@suse.com Patch59: 0001-Detail-Avoid-dereferencing-some-NULL-pointers.patch # PATCH-FIX-SLE 0001-udev-md-raid-assembly.rules-Skip-multipathed-devices.patch bsc#956236 nfbrown@suse.com Patch60: 0001-udev-md-raid-assembly.rules-Skip-multipathed-devices.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 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %patch29 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p1 %patch36 -p1 %patch37 -p1 %patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1 %patch42 -p1 %patch43 -p1 %patch44 -p1 %patch45 -p1 %patch46 -p1 %patch47 -p1 %patch48 -p1 %patch49 -p1 %patch50 -p1 %patch51 -p1 %patch52 -p1 %patch53 -p1 %patch54 -p1 %patch55 -p1 %patch56 -p1 %patch57 -p1 %patch58 -p1 %patch59 -p1 %patch60 -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}{%{_sbindir} install -d %{buildroot}/etc/cron.daily install -d %{buildroot}/etc/cron.d install -m 755 %{S:7} %{buildroot}/etc/cron.daily/mdadm install -m 644 %{S:3} %{buildroot}/etc/cron.d/mdadm install -m 644 %{S:2} %{buildroot}%{_var}/adm/fillup-templates/ install -d %{buildroot}%{_systemdshutdowndir} %post %{?regenerate_initrd_post} %fillup_only %postun %{?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/* %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 %dir /etc/cron.daily /etc/cron.daily/mdadm %dir /etc/cron.d %config /etc/cron.d/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