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