This commit is contained in:
parent
b9b8600a84
commit
db8ed4c09c
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 12:49:32 CEST 2007 - ro@suse.de
|
||||||
|
|
||||||
|
- fix lint problems
|
||||||
|
- install contrib scripts to /usr/lib/hdparm
|
||||||
|
- mark udev file as config
|
||||||
|
- fix permissions for fillup-template
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 1 00:40:56 CEST 2007 - schwab@suse.de
|
Tue May 1 00:40:56 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
19
hdparm.spec
19
hdparm.spec
@ -17,7 +17,7 @@ PreReq: %insserv_prereq %fillup_prereq coreutils
|
|||||||
Provides: base:/sbin/hdparm
|
Provides: base:/sbin/hdparm
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 7.3
|
Version: 7.3
|
||||||
Release: 3
|
Release: 6
|
||||||
Summary: A Program to Get and Set Hard Disk Parameters
|
Summary: A Program to Get and Set Hard Disk Parameters
|
||||||
Source: hdparm-%{version}.tar.bz2
|
Source: hdparm-%{version}.tar.bz2
|
||||||
Source1: 56-idedma.rules
|
Source1: 56-idedma.rules
|
||||||
@ -49,6 +49,7 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS=
|
make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS=
|
||||||
|
gcc $RPM_OPT_FLAGS -c contrib/fix_standby.c -o contrib/fix_standby
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||||
@ -58,9 +59,13 @@ mv contrib/README contrib/README.contrib
|
|||||||
install -d $RPM_BUILD_ROOT/etc/udev/rules.d
|
install -d $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||||
install -m 644 %{S:1} $RPM_BUILD_ROOT/etc/udev/rules.d
|
install -m 644 %{S:1} $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||||
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
|
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
install %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
install -d $RPM_BUILD_ROOT/lib/udev
|
install -d $RPM_BUILD_ROOT/lib/udev
|
||||||
install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
|
install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
|
||||||
|
install -d $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||||
|
install -m 755 contrib/fix_standby $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||||
|
install -m 755 contrib/idectl $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||||
|
install -m 755 contrib/ultrabayd $RPM_BUILD_ROOT/usr/lib/hdparm
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f etc/sysconfig/hardware ] ; then
|
if [ -f etc/sysconfig/hardware ] ; then
|
||||||
@ -93,17 +98,23 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Changelog README.acoustic contrib/*
|
%doc Changelog README.acoustic contrib/README.contrib
|
||||||
%doc %{_mandir}/man8/hdparm.8.gz
|
%doc %{_mandir}/man8/hdparm.8.gz
|
||||||
/sbin/hdparm
|
/sbin/hdparm
|
||||||
%dir /lib/udev
|
%dir /lib/udev
|
||||||
/lib/udev/idedma.sh
|
/lib/udev/idedma.sh
|
||||||
%dir /etc/udev
|
%dir /etc/udev
|
||||||
%dir /etc/udev/rules.d
|
%dir /etc/udev/rules.d
|
||||||
/etc/udev/rules.d/56-idedma.rules
|
%config(noreplace) /etc/udev/rules.d/56-idedma.rules
|
||||||
|
/usr/lib/hdparm
|
||||||
/var/adm/fillup-templates/sysconfig.ide
|
/var/adm/fillup-templates/sysconfig.ide
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 16 2007 - ro@suse.de
|
||||||
|
- fix lint problems
|
||||||
|
- install contrib scripts to /usr/lib/hdparm
|
||||||
|
- mark udev file as config
|
||||||
|
- fix permissions for fillup-template
|
||||||
* Tue May 01 2007 - schwab@suse.de
|
* Tue May 01 2007 - schwab@suse.de
|
||||||
- Don't strip binaries.
|
- Don't strip binaries.
|
||||||
* Mon Apr 30 2007 - ro@suse.de
|
* Mon Apr 30 2007 - ro@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user