forked from pool/hdparm
This commit is contained in:
parent
db8ed4c09c
commit
4175aea634
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 11:54:38 CEST 2007 - schwab@suse.de
|
||||
|
||||
- fix_standby is x86-only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 12:49:32 CEST 2007 - ro@suse.de
|
||||
|
||||
|
@ -17,7 +17,7 @@ PreReq: %insserv_prereq %fillup_prereq coreutils
|
||||
Provides: base:/sbin/hdparm
|
||||
Autoreqprov: on
|
||||
Version: 7.3
|
||||
Release: 6
|
||||
Release: 9
|
||||
Summary: A Program to Get and Set Hard Disk Parameters
|
||||
Source: hdparm-%{version}.tar.bz2
|
||||
Source1: 56-idedma.rules
|
||||
@ -49,7 +49,9 @@ Authors:
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS=
|
||||
%ifarch %ix86
|
||||
gcc $RPM_OPT_FLAGS -c contrib/fix_standby.c -o contrib/fix_standby
|
||||
%endif
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||
@ -63,7 +65,9 @@ install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
install -d $RPM_BUILD_ROOT/lib/udev
|
||||
install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
|
||||
install -d $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||
%ifarch %ix86
|
||||
install -m 755 contrib/fix_standby $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||
%endif
|
||||
install -m 755 contrib/idectl $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||
install -m 755 contrib/ultrabayd $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||
|
||||
@ -110,6 +114,8 @@ fi
|
||||
/var/adm/fillup-templates/sysconfig.ide
|
||||
|
||||
%changelog
|
||||
* Thu May 24 2007 - schwab@suse.de
|
||||
- fix_standby is x86-only.
|
||||
* Wed May 16 2007 - ro@suse.de
|
||||
- fix lint problems
|
||||
- install contrib scripts to /usr/lib/hdparm
|
||||
|
Loading…
Reference in New Issue
Block a user