Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
mdadm
mdadm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mdadm.spec of Package mdadm
# # spec file for package mdadm # # Copyright (c) 2018 SUSE LINUX Products 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/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif 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 /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 Source3: cron.d.mdadm Source7: mdadm.cron 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 Patch4: 0004-mdadm-check-the-nodes-when-operate-clustered-array.patch Patch5: 0005-examine-tidy-up-some-code.patch Patch6: 0006-mdadm-add-man-page-for-symlinks.patch Patch7: 0007-mdadm-add-checking-clustered-bitmap-in-assemble-mode.patch Patch8: 0008-mdadm-Add-Wimplicit-fallthrough-0-in-Makefile.patch Patch9: 0009-mdadm-Specify-enough-length-when-write-to-buffer.patch Patch10: 0010-mdadm-it-doesn-t-make-sense-to-set-bitmap-twice.patch Patch11: 0011-mdadm-Monitor-Fix-NULL-pointer-dereference-when-stat.patch Patch12: 0012-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch Patch13: 0013-mdadm-Forced-type-conversion-to-avoid-truncation.patch Patch14: 0014-super1-ignore-failfast-flag-for-setting-device-role.patch Patch15: 0015-mdadm-bitmap-fixed-typos-in-comments-of-bitmap.h.patch Patch16: 0016-udev-md-raid-assembly.rules-Skip-non-ready-devices.patch Patch17: 0017-Retry-HOT_REMOVE_DISK-a-few-times.patch Patch18: 0018-mdadm-Build-check-the-level-parameter-when-build-new.patch Patch19: 0019-Introduce-sys_hot_remove_disk.patch Patch20: 0020-Add-force-flag-to-hot_remove_disk.patch Patch21: 0021-Detail-handle-non-existent-arrays-better.patch Patch22: 0022-Generic-support-for-consistency-policy-and-PPL.patch Patch23: 0023-Detail-show-consistency-policy.patch Patch24: 0024-imsm-PPL-support.patch Patch25: 0025-super1-PPL-support.patch Patch26: 0026-Add-ppl-and-no-ppl-options-for-update.patch Patch27: 0027-Grow-support-consistency-policy-change.patch Patch28: 0028-mdadm.h-struct-mdinfo-reorganize-ppl-elements-for-be.patch Patch29: 0029-super1-replace-hard-coded-values-with-bit-definition.patch Patch30: 0030-mdadm-Clean-up-some-ugly-multiple-actions-on-single-.patch Patch31: 0031-mdadm-Fixup-a-number-of-whitespace-inconsistency-cas.patch Patch32: 0032-util-Cosmetic-changes.patch Patch33: 0033-Grow-Fixup-a-pile-of-cosmetic-issues.patch Patch34: 0034-Grow-Remove-unnecessary-optimization.patch Patch35: 0035-Grow-Do-not-shadow-an-existing-variable.patch Patch36: 0036-imsm-use-rounded-size-for-metadata-initialization.patch Patch37: 0037-mdadm.c-fix-compile-error-switch-condition-has-boole.patch Patch38: 0038-mdadm-Create-declaring-an-existing-struct-within-sam.patch Patch39: 0039-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch Patch40: 0040-Create-Fixup-various-whitespace-issues.patch Patch41: 0041-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch Patch42: 0042-mdopen-use-parameters-new_array-to-create-arrays-whe.patch Patch43: 0043-mdadm-manpage-update-manpage-for-readonly-parameter.patch Patch44: 0044-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch Patch45: 0045-maps-Terminate-modes-map-correctly.patch Patch46: 0046-Grow_continue_command-ensure-content-is-properly-ini.patch Patch47: 0047-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch Patch48: 0048-Detail-ensure-export-names-are-acceptable-as-shell-v.patch Patch49: 0049-Grow-set-component-size-prior-to-array-size.patch Patch50: 0050-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch Patch51: 0051-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch Patch52: 0052-IMSM-Correct-examine-output-for-4k-disks.patch Patch53: 0053-imsm-allow-drives-in-a-container-regardless-of-secto.patch Patch54: 0054-imsm-allocate-buffer-to-support-maximum-sector-size.patch Patch55: 0055-imsm-don-t-allow-disks-with-different-sector-size-in.patch Patch56: 0056-mdadm-mdmon-deleted-the-abort_reshape-never-invoked.patch Patch57: 0057-util-Introduce-md_get_array_info.patch Patch58: 0058-Incremental-Remove-redundant-call-for-GET_ARRAY_INFO.patch Patch59: 0059-util-Introduce-md_get_disk_info.patch Patch60: 0060-util-Introduce-md_set_array_info.patch Patch61: 0061-md_u-Remove-some-unused-ioctl-declarations.patch Patch62: 0062-mdadm-grow-reshape-would-be-stuck-from-raid1-to-raid.patch Patch63: 0063-sysfs-Use-the-presence-of-sys-block-dev-md-as-indica.patch Patch64: 0064-sysfs-Make-sysfs_init-return-an-error-code.patch Patch65: 0065-util-must_be_container-Use-sysfs_read-GET_VERSION-to.patch Patch66: 0066-util-set_array_info-Simplify-code-since-md_get_versi.patch Patch67: 0067-Assemble-Assemble-Stop-checking-kernel-md-driver-ver.patch Patch68: 0068-Build-Stop-bothering-about-supporting-md-driver-olde.patch Patch69: 0069-Grow-Stop-bothering-about-md-driver-versions-older-t.patch Patch70: 0070-Detail-Stop-bothering-about-md-drivers-older-than-0..patch Patch71: 0071-Create-Remove-all-attemps-to-handle-md-driver-older-.patch Patch72: 0072-Manage-Remove-all-references-to-md_get_version.patch Patch73: 0073-Query-Remove-all-references-to-md_get_version.patch Patch74: 0074-bitmap-Remove-use-of-md_get_version.patch Patch75: 0075-mdmon-Stop-bothering-about-md_get_version.patch Patch76: 0076-mdopen-open_mddev-Use-md_get_array_info-to-determine.patch Patch77: 0077-mdassemble-Use-md_get_array_info-to-check-for-valid-.patch Patch78: 0078-Assemble-Assemble-Get-rid-of-last-use-of-md_get_vers.patch Patch79: 0079-util-Finally-kill-off-md_get_version.patch Patch80: 0080-mdadm-Fail-for-kernels-older-than-2.6.15.patch Patch81: 0081-Revert-mdadm-grow-reshape-would-be-stuck-from-raid1-.patch Patch82: 0082-Retire-mdassemble.patch Patch83: 0083-super1-Clean-up-various-style-abuses.patch Patch84: 0084-Detail-Remove-pre-2.6-code-for-printing-info-on-rebu.patch Patch85: 0085-Assemble-Remove-obsolete-test-for-kernels-older-than.patch Patch86: 0086-Detail-Fixup-ugly-if-foo-abuse.patch Patch87: 0087-Query-Handle-error-returned-by-fstat.patch Patch88: 0088-Query-Use-sysfs-to-obtain-data-if-possible.patch Patch89: 0089-sysfs-Parse-array_state-in-sysfs_read.patch Patch90: 0090-util-Introduce-md_array_active-helper.patch Patch91: 0091-maps-Use-keyvalue-for-null-terminator-to-indicate-un.patch Patch92: 0092-util-Get-rid-of-unused-enough_fd.patch Patch93: 0093-mdadm-retire-mdassemble-in-make-everything.patch Patch94: 0094-Query-Quiet-gcc-since-it-cannot-know-errno-0-in-this.patch Patch95: 0095-Makefile-Default-to-O2-optimization.patch Patch96: 0096-maps-Simplify-implementation-of-map_name.patch Patch97: 0097-Don-t-use-UnSet-with-consistency_policy.patch Patch98: 0098-Detail-determine-array-state-from-sysfs.patch Patch99: 0099-Detail-Respect-code-lines-are-80-character-wide.patch Patch100: 0100-Detail-Reinstate-support-for-not-having-sysfs.patch Patch101: 0101-Incremental-Use-md_array_active-where-applicable.patch Patch102: 0102-Incremental-Cleanup-some-if-statement-spaghetti.patch Patch103: 0103-Create-tell-udev-md-device-is-not-ready-when-first-c.patch Patch104: 0104-Incremental-Use-md_array_active-to-determine-state-o.patch Patch105: 0105-Manage-Manage_ro-Use-md_array_active.patch Patch106: 0106-IMSM-Initialize-my_vol_raid_dev_num-during-vol-creat.patch Patch107: 0107-Grow-Grow_continue_command-Avoid-aliasing-array-vari.patch Patch108: 0108-change-back-0644-permission-for-Grow.c.patch Patch109: 0109-util-md_array_valid-Introduce-md_array_valid-helper.patch Patch110: 0110-kernel-patch-Remove-obsolete-kernel-patches-against-.patch Patch111: 0111-mdassemble-Kill-off-the-last-remains.patch Patch112: 0112-mdadm-util-unify-fstat-checking-blkdev-into-function.patch Patch113: 0113-mdadm-util-unify-stat-checking-blkdev-into-function.patch Patch114: 0114-Fix-typo-in-new-udev-rule.patch Patch115: 0115-Incremental-return-is-not-a-function.patch Patch116: 0116-sysfs-sysfs_read-Count-active_disks-and-failed_disks.patch Patch117: 0117-container_members_max_degradation-Switch-to-using-sy.patch Patch118: 0118-IncrementalScan-Use-md_array_active-instead-of-md_ge.patch Patch119: 0119-Mention-endian-in-documentation-for-update-byte-orde.patch Patch120: 0120-Monitor-Use-md_array_active-instead-of-manually-fidd.patch Patch121: 0121-Monitor-Code-is-80-characters-per-line.patch Patch122: 0122-mdadm-md.4-set-page-length-as-1000-to-avoid-warnings.patch Patch123: 0123-Allow-more-spare-selection-criteria.patch Patch124: 0124-Add-sector-size-as-spare-selection-criterion.patch Patch125: 0125-Monitor-check_array-Centralize-exit-path.patch Patch126: 0126-Monitor-check_array-Reduce-duplicated-error-handling.patch Patch127: 0127-Monitor-check_array-Declate-mdinfo-instance-globally.patch Patch128: 0128-Monitor-check_array-Read-sysfs-entry-earlier.patch Patch129: 0129-Monitor-check_array-Obtain-RAID-level-from-syfs.patch Patch130: 0130-Monitor-check_array-Get-failed_disks-from-sysfs.patch Patch131: 0131-Monitor-check_array-Get-array_disks-from-sysfs.patch Patch132: 0132-Monitor-check_array-Get-nr_disks-active_disks-and-sp.patch Patch133: 0133-sysfs-sysfs_read-Count-working_disks.patch Patch134: 0134-Monitor-check_array-Use-working_disks-from-sysfs.patch Patch135: 0135-retire-the-APIs-that-driver-no-longer-supports.patch Patch136: 0136-Monitor-Not-much-point-declaring-mdlist-in-both-fork.patch Patch137: 0137-Monitor-mailfrom-is-initialized-correctly.patch Patch138: 0138-Monitor-Fixup-a-pile-of-whitespace-issues.patch Patch139: 0139-mdadm-Uninitialized-variable-rdev.patch Patch140: 0140-super-ddf-sysfs_read-takes-a-pointer-as-device-name-.patch Patch141: 0141-mdadm-Fixup-a-large-number-of-bad-formatting-of-logi.patch Patch142: 0142-mdadm-Fixup-more-broken-logical-operator-formatting.patch Patch143: 0143-mdadm-Fix-broken-formatting.patch Patch144: 0144-mdadm-Fixup-broken-formatting.patch Patch145: 0145-Detail-don-t-exit-if-ioctl-has-been-successful.patch Patch146: 0146-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch Patch147: 0147-md_u-Remove-unused-ioctl-declaration-of-START_ARRAY.patch Patch148: 0148-Get-failed-disk-count-from-array-state.patch Patch149: 0149-Monitor-don-t-assume-mdadm-parameter-is-a-block-devi.patch Patch150: 0150-super1-Always-round-data-offset-to-1M.patch Patch151: 0151-mdadm-r5cache-allow-adding-journal-to-array-without-.patch Patch152: 0152-udev-rules-introduce-rules-for-cluster-md-to-confirm.patch Patch153: 0153-Detail-correct-output-for-active-arrays.patch Patch154: 0154-imsm-rebuild-from-2-disk-RAID10.patch Patch155: 0155-Error-messages-should-end-with-a-newline-character.patch Patch156: 0156-Use-correct-syntax-for-passing-DEVLINKS-to-mdadm-fro.patch Patch157: 0157-super1-only-set-clustered-flag-when-bitmap-is-presen.patch Patch158: 0158-Don-t-use-exit-ERANGE.patch Patch159: 0159-Monitor-containers-don-t-have-the-same-sysfs-propert.patch Patch160: 0160-Monitor-Include-containers-in-spare-migration.patch Patch161: 0161-Detail-differentiate-between-container-and-inactive-.patch Patch162: 0162-mdadm-install-two-more-udev-rules-in-mdadm.spec.patch Patch163: 0163-mdadm-set-journal_clean-after-scanning-all-disks.patch Patch164: 0164-mdadm-bitmap-examine-bitmap-failed-when-bitmap-is-ex.patch Patch165: 0165-mdopen-call-modprobe-md_mod-if-it-might-be-needed.patch Patch166: 0166-lib-devid2kname-should-take-a-dev_t.patch Patch167: 0167-sysfs_init_dev-take-a-dev_t-argument.patch Patch168: 0168-Manage_subdevs-Use-a-dev_t.patch Patch169: 0169-util-Code-is-80-characters-wide.patch Patch170: 0170-Close-mdfd-before-returning-main-function.patch Patch171: 0171-Grow-stop-previous-reshape-process-first.patch Patch172: 0172-imsm-New-disk-controller-domains.patch Patch173: 0173-Monitor-Check-redundancy-for-arrays.patch Patch174: 0174-mdadm-grow-Component-size-must-be-larger-than-chunk-.patch Patch175: 0175-mdadm-manpage-disable-bitmap_resize-for-external-fil.patch Patch176: 0176-mdadm-fixes-some-trivial-typos-in-comments.patch Patch177: 0177-Don-t-abort-starting-the-array-if-kernel-does-not-su.patch Patch178: 0178-super1-Add-support-for-multiple-ppls.patch Patch179: 0179-imsm-Add-support-for-multiple-ppls.patch Patch180: 0180-imsm-validate-multiple-ppls-during-assemble.patch Patch181: 0181-Zeroout-whole-ppl-space-during-creation-force-assemb.patch Patch182: 0182-imsm-switch-to-multiple-ppls-automatically-during-as.patch Patch183: 0183-Grow-fix-switching-on-PPL-during-recovery.patch Patch184: 0184-imsm-don-t-skip-resync-when-an-invalid-ppl-header-is.patch Patch185: 0185-imsm-Write-empty-PPL-header-if-assembling-regular-cl.patch Patch186: 0186-imsm-always-do-ppl-recovery-when-starting-a-rebuildi.patch Patch187: 0187-imsm-use-correct-map-when-validating-ppl.patch Patch188: 0188-imsm-write-initial-ppl-on-a-disk-added-for-rebuild.patch Patch189: 0189-Grow-Use-all-80-characters.patch Patch190: 0190-imsm-Set-disk-slot-number.patch Patch191: 0191-mdmon-get-safe-mode-delay-file-descriptor-early.patch Patch192: 0192-mdadm-mdstat-fixup-a-number-of-broken-formatting.patch Patch193: 0193-mdadm-mdstat-correct-the-strncmp-number-4-as-6.patch Patch194: 0194-mdcheck-add-some-logging.patch Patch195: 0195-mdcheck-improve-cleanup.patch Patch197: 0197-mdadm-grow-adding-a-test-to-ensure-resize-was-requir.patch Patch198: 0198-mdadm-mdopen-create-new-function-create_named_array-.patch Patch199: 0199-systemd-add-I-to-description-of-mdadm-last-resort-se.patch Patch200: 0200-Incremental-Use-validate_geometry-instead-of-avail_s.patch Patch201: 0201-imsm-fix-reading-scsi-serial.patch Patch202: 0202-To-support-clustered-raid10.patch Patch203: 0203-imsm-More-precise-message-when-spanned-raid-is-creat.patch Patch204: 0204-sysfs-include-faulty-drive-in-disk-count.patch Patch205: 0205-Monitor-msg-Don-t-print-error-message-if-mdmon-doesn.patch Patch206: 0206-imsm-continue-resync-on-3-disk-RAID10.patch Patch207: 0207-managemon-Don-t-add-disk-to-the-array-after-it-has-s.patch Patch208: 0208-mdadm-grow-correct-the-s-size-1-to-make-max-work.patch Patch209: 0209-policy.c-Avoid-to-take-spare-without-defined-domain-.patch Patch210: 0210-mdadm-allow-clustered-raid10-to-be-created-with-defa.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 %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 %patch61 -p1 %patch62 -p1 %patch63 -p1 %patch64 -p1 %patch65 -p1 %patch66 -p1 %patch67 -p1 %patch68 -p1 %patch69 -p1 %patch70 -p1 %patch71 -p1 %patch72 -p1 %patch73 -p1 %patch74 -p1 %patch75 -p1 %patch76 -p1 %patch77 -p1 %patch78 -p1 %patch79 -p1 %patch80 -p1 %patch81 -p1 %patch82 -p1 %patch83 -p1 %patch84 -p1 %patch85 -p1 %patch86 -p1 %patch87 -p1 %patch88 -p1 %patch89 -p1 %patch90 -p1 %patch91 -p1 %patch92 -p1 %patch93 -p1 %patch94 -p1 %patch95 -p1 %patch96 -p1 %patch97 -p1 %patch98 -p1 %patch99 -p1 %patch100 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 %patch104 -p1 %patch105 -p1 %patch106 -p1 %patch107 -p1 %patch108 -p1 %patch109 -p1 %patch110 -p1 %patch111 -p1 %patch112 -p1 %patch113 -p1 %patch114 -p1 %patch115 -p1 %patch116 -p1 %patch117 -p1 %patch118 -p1 %patch119 -p1 %patch120 -p1 %patch121 -p1 %patch122 -p1 %patch123 -p1 %patch124 -p1 %patch125 -p1 %patch126 -p1 %patch127 -p1 %patch128 -p1 %patch129 -p1 %patch130 -p1 %patch131 -p1 %patch132 -p1 %patch133 -p1 %patch134 -p1 %patch135 -p1 %patch136 -p1 %patch137 -p1 %patch138 -p1 %patch139 -p1 %patch140 -p1 %patch141 -p1 %patch142 -p1 %patch143 -p1 %patch144 -p1 %patch145 -p1 %patch146 -p1 %patch147 -p1 %patch148 -p1 %patch149 -p1 %patch150 -p1 %patch151 -p1 %patch152 -p1 %patch153 -p1 %patch154 -p1 %patch155 -p1 %patch156 -p1 %patch157 -p1 %patch158 -p1 %patch159 -p1 %patch160 -p1 %patch161 -p1 %patch162 -p1 %patch163 -p1 %patch164 -p1 %patch165 -p1 %patch166 -p1 %patch167 -p1 %patch168 -p1 %patch169 -p1 %patch170 -p1 %patch171 -p1 %patch172 -p1 %patch173 -p1 %patch174 -p1 %patch175 -p1 %patch176 -p1 %patch177 -p1 %patch178 -p1 %patch179 -p1 %patch180 -p1 %patch181 -p1 %patch182 -p1 %patch183 -p1 %patch184 -p1 %patch185 -p1 %patch186 -p1 %patch187 -p1 %patch188 -p1 %patch189 -p1 %patch190 -p1 %patch191 -p1 %patch192 -p1 %patch193 -p1 %patch194 -p1 %patch195 -p1 %patch197 -p1 %patch198 -p1 %patch199 -p1 %patch200 -p1 %patch201 -p1 %patch202 -p1 %patch203 -p1 %patch204 -p1 %patch205 -p1 %patch206 -p1 %patch207 -p1 %patch208 -p1 %patch209 -p1 %patch210 -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}%{_fillupdir} install -d %{buildroot}/usr/share/mdadm install -m 755 misc/mdcheck %{buildroot}/usr/share/mdadm/mdcheck 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}%{_fillupdir}/ 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 %service_add_post %services %{?regenerate_initrd_post} %fillup_only %preun %service_del_preun %services mdmon@.service mdadm-last-resort@.service mdadm-grow-continue@.service %postun %service_del_postun %services %{?regenerate_initrd_post} %posttrans %{?regenerate_initrd_posttrans} %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/* %{_fillupdir}/sysconfig.mdadm %{_udevdir}/rules.d/01-md-raid-creating.rules %{_udevdir}/rules.d/63-md-raid-arrays.rules %{_udevdir}/rules.d/64-md-raid-assembly.rules %{_udevdir}/rules.d/69-md-clustered-confirm-device.rules %dir /etc/cron.daily /etc/cron.daily/mdadm %dir /etc/cron.d %config /etc/cron.d/mdadm # %%{_systemdshutdowndir}/ is not owned by all versions of systemd-mini. # But we really do not want to pull in a full systemd, so we rather just own # that directory by ourselves too. After all, this is allowed. %dir %{_systemdshutdowndir} %{_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