diff options
author | Neil Brown <neilb@suse.de> | 2002-04-06 00:00:28 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2002-04-06 00:00:28 +0200 |
commit | c913b90e6dba02613fe24d3e7f0b3f251a01bc50 (patch) | |
tree | 6cae4520d50adc36d528410baedc3ad6a9993069 /mdadm.spec | |
parent | mdadm-0.8 (diff) | |
download | mdadm-c913b90e6dba02613fe24d3e7f0b3f251a01bc50.tar.xz mdadm-c913b90e6dba02613fe24d3e7f0b3f251a01bc50.zip |
mdadm-0.8.1mdadm-0.8.1
Diffstat (limited to '')
-rw-r--r-- | mdadm.spec | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -1,6 +1,6 @@ Summary: mdadm is used for controlling Linux md devices (aka RAID arrays) Name: mdadm -Version: 0.8 +Version: 0.8.1 Release: 1 Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/ @@ -29,29 +29,23 @@ some common tasks). make CFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" %install -#rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/%{_sbindir} -install -m755 mdadm $RPM_BUILD_ROOT/%{_sbindir} -mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir} -install -m644 mdadm.conf-example $RPM_BUILD_ROOT/%{_sysconfdir}/mdadm.conf -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man4 -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5 -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m644 md.4 $RPM_BUILD_ROOT/%{_mandir}/man4/ -install -m644 mdadm.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5/ -install -m644 mdadm.8 $RPM_BUILD_ROOT/%{_mandir}/man8/ +make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=%{_sbindir} install +install -D -m644 mdadm.conf-example $RPM_BUILD_ROOT/%{_sysconfdir}/mdadm.conf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc TODO ChangeLog mdadm.man mdadm.conf-example COPYING +%doc TODO ChangeLog mdadm.conf-example COPYING %{_sbindir}/mdadm %config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf %{_mandir}/man*/md* %changelog +* Sat Apr 6 2002 <neilb@cse.unsw.edu.au> +- change %install to use "make install" + * Fri Mar 15 2002 <gleblanc@localhost.localdomain> - beautification - made mdadm.conf non-replaceable config |