OBS User unknown 2008-11-07 09:41:08 +00:00 committed by Git OBS Bridge
parent bbdf0fd2e6
commit 7c6e5e9983
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 7 10:32:35 CET 2008 - ro@suse.de
- remove udev rule (conflicting with file in udev package)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 7 02:58:40 CET 2008 - ro@suse.de Fri Nov 7 02:58:40 CET 2008 - ro@suse.de

View File

@ -20,7 +20,7 @@
Name: mdadm Name: mdadm
Version: 3.0 Version: 3.0
Release: 5 Release: 6
%define ver 3.0-devel2 %define ver 3.0-devel2
BuildRequires: sgmltool BuildRequires: sgmltool
PreReq: %fillup_prereq %insserv_prereq PreReq: %fillup_prereq %insserv_prereq
@ -80,6 +80,8 @@ install -m 755 %{S:6} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-md.sh
install -m 644 %{S:2} $RPM_BUILD_ROOT%{_var}/adm/fillup-templates/ install -m 644 %{S:2} $RPM_BUILD_ROOT%{_var}/adm/fillup-templates/
ln -sf ../../etc/init.d/mdadmd $RPM_BUILD_ROOT/%{_sbindir}/rcmdadmd ln -sf ../../etc/init.d/mdadmd $RPM_BUILD_ROOT/%{_sbindir}/rcmdadmd
install -d $RPM_BUILD_ROOT/var/run/mdadm install -d $RPM_BUILD_ROOT/var/run/mdadm
# remove here, using the one in the udev package
rm -f $RPM_BUILD_ROOT/lib/udev/rules.d/64-md-raid.rules
%post %post
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
@ -135,7 +137,8 @@ rm -rf $RPM_BUILD_ROOT
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html} %doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
%doc %{_mandir}/man?/* %doc %{_mandir}/man?/*
/sbin/* /sbin/*
/lib/udev %dir /lib/udev
%dir /lib/udev/devices
%{_sbindir}/* %{_sbindir}/*
%{_var}/adm/fillup-templates/sysconfig.mdadm %{_var}/adm/fillup-templates/sysconfig.mdadm
%dir /var/run/mdadm %dir /var/run/mdadm
@ -146,6 +149,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Nov 07 2008 ro@suse.de * Fri Nov 07 2008 ro@suse.de
- remove udev rule (conflicting with file in udev package)
* Fri Nov 07 2008 ro@suse.de
- buildfix: add missing DESTDIR to Makefile for udev rule - buildfix: add missing DESTDIR to Makefile for udev rule
- fix len in snprintf to silence compiler warning about potential - fix len in snprintf to silence compiler warning about potential
overflow overflow