Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
mdadm
mdadm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mdadm.spec of Package mdadm
# # 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: 4.0 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-Makefile-Fix-date-to-be-output-in-ISO-format.patch Patch2: 0002-imsm-fix-missing-error-message-during-migration.patch Patch3: 0003-Fix-oddity-where-mdadm-did-not-recognise-a-relative-.patch Patch5: 0005-mdadm-check-the-nodes-when-operate-clustered-array.patch Patch6: 0006-examine-tidy-up-some-code.patch Patch7: 0007-mdadm-add-man-page-for-symlinks.patch Patch8: 0008-mdadm-add-checking-clustered-bitmap-in-assemble-mode.patch Patch9: 0009-mdadm-Add-Wimplicit-fallthrough-0-in-Makefile.patch Patch10: 0010-mdadm-Specify-enough-length-when-write-to-buffer.patch Patch12: 0012-mdadm-it-doesn-t-make-sense-to-set-bitmap-twice.patch Patch14: 0014-mdadm-Monitor-Fix-NULL-pointer-dereference-when-stat.patch Patch15: 0015-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch Patch16: 0016-mdadm-Forced-type-conversion-to-avoid-truncation.patch Patch17: 0017-super1-ignore-failfast-flag-for-setting-device-role.patch Patch18: 0018-mdadm-bitmap-fixed-typos-in-comments-of-bitmap.h.patch Patch19: 0019-udev-md-raid-assembly.rules-Skip-non-ready-devices.patch Patch20: 0020-Retry-HOT_REMOVE_DISK-a-few-times.patch Patch21: 0021-mdadm-Build-check-the-level-parameter-when-build-new.patch Patch22: 0022-Introduce-sys_hot_remove_disk.patch Patch23: 0023-Add-force-flag-to-hot_remove_disk.patch Patch24: 0024-Detail-handle-non-existent-arrays-better.patch Patch25: 0025-Generic-support-for-consistency-policy-and-PPL.patch Patch26: 0026-Detail-show-consistency-policy.patch Patch27: 0027-imsm-PPL-support.patch Patch28: 0028-super1-PPL-support.patch Patch29: 0029-Add-ppl-and-no-ppl-options-for-update.patch Patch30: 0030-Grow-support-consistency-policy-change.patch Patch31: 0031-mdadm.h-struct-mdinfo-reorganize-ppl-elements-for-be.patch Patch32: 0032-super1-replace-hard-coded-values-with-bit-definition.patch Patch33: 0033-mdadm-Clean-up-some-ugly-multiple-actions-on-single-.patch Patch34: 0034-mdadm-Fixup-a-number-of-whitespace-inconsistency-cas.patch Patch35: 0035-util-Cosmetic-changes.patch Patch36: 0036-Grow-Fixup-a-pile-of-cosmetic-issues.patch Patch42: 0042-Grow-Remove-unnecessary-optimization.patch Patch43: 0043-Grow-Do-not-shadow-an-existing-variable.patch Patch45: 0045-imsm-use-rounded-size-for-metadata-initialization.patch Patch46: 0046-mdadm.c-fix-compile-error-switch-condition-has-boole.patch Patch50: 0050-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch Patch51: 0051-Create-Fixup-various-whitespace-issues.patch Patch68: 0068-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch Patch72: 0072-mdopen-use-parameters-new_array-to-create-arrays-whe.patch Patch73: 0073-mdadm-manpage-update-manpage-for-readonly-parameter.patch Patch74: 0074-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch Patch83: 0083-maps-Terminate-modes-map-correctly.patch Patch87: 0087-Grow_continue_command-ensure-content-is-properly-ini.patch Patch88: 0088-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch Patch89: 0089-Detail-ensure-export-names-are-acceptable-as-shell-v.patch Patch92: 0092-Grow-set-component-size-prior-to-array-size.patch Patch93: 0093-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch Patch94: 0094-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch Patch95: 0095-IMSM-Correct-examine-output-for-4k-disks.patch Patch96: 0096-imsm-allow-drives-in-a-container-regardless-of-secto.patch Patch97: 0097-imsm-allocate-buffer-to-support-maximum-sector-size.patch Patch98: 0098-imsm-don-t-allow-disks-with-different-sector-size-in.patch Patch99: 0099-Allow-more-spare-selection-criteria.patch Patch100: 0100-Add-sector-size-as-spare-selection-criterion.patch Patch1004: 1004-display-timeout-status.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 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch12 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -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 %patch42 -p1 %patch43 -p1 %patch45 -p1 %patch46 -p1 %patch50 -p1 %patch51 -p1 %patch68 -p1 %patch72 -p1 %patch73 -p1 %patch74 -p1 %patch83 -p1 %patch87 -p1 %patch88 -p1 %patch89 -p1 %patch92 -p1 %patch93 -p1 %patch94 -p1 %patch95 -p1 %patch96 -p1 %patch97 -p1 %patch98 -p1 %patch99 -p1 %patch100 -p1 %patch1004 -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