install systemd scripts [release 3.3.2-2mamba;Tue Jun 16 2015]
This commit is contained in:
parent
d09de1a32b
commit
99f984c6c3
20
mdadm.spec
20
mdadm.spec
@ -1,6 +1,6 @@
|
||||
Name: mdadm
|
||||
Version: 3.3.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A tool to manage MD devices aka Linux Software RAID
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -14,6 +14,7 @@ License: GPL
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
%systemd_requires
|
||||
Provides: mdadm-static
|
||||
Obsoletes: mdadm-static
|
||||
|
||||
@ -40,7 +41,7 @@ The particular differences to raidtools is that mdadm is a single program, and i
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall \
|
||||
%makeinstall install-systemd \
|
||||
BINDIR=/sbin
|
||||
|
||||
install -D -m 644 %{name}.conf-example \
|
||||
@ -54,11 +55,17 @@ install -D -m 644 %{name}.conf-example \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/lib/udev/rules.d/63-md-raid-arrays.rules
|
||||
/lib/udev/rules.d/64-md-raid-assembly.rules
|
||||
%config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
|
||||
/sbin/%{name}
|
||||
/sbin/mdmon
|
||||
%config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
|
||||
/lib/udev/rules.d/63-md-raid-arrays.rules
|
||||
/lib/udev/rules.d/64-md-raid-assembly.rules
|
||||
/lib/systemd/system-shutdown/mdadm.shutdown
|
||||
%{_unitdir}/mdadm-grow-continue@.service
|
||||
%{_unitdir}/mdadm-last-resort@.service
|
||||
%{_unitdir}/mdadm-last-resort@.timer
|
||||
%{_unitdir}/mdmon@.service
|
||||
%{_unitdir}/mdmonitor.service
|
||||
%{_mandir}/man4/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man8/*
|
||||
@ -70,6 +77,9 @@ install -D -m 644 %{name}.conf-example \
|
||||
#%{_sbindir}/%{name}.static
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-2mamba
|
||||
- install systemd scripts
|
||||
|
||||
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user