add gcc dep, spec cleanups
This commit is contained in:
parent
08db30ef23
commit
a4e90cacde
@ -10,6 +10,8 @@ Patch1: %{name}-9.43-close_fd.patch
|
||||
Patch2: %{name}-9.43-get_geom.patch
|
||||
Patch3: %{name}-9.54-sysmacros.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
Hdparm is a useful system utility for setting (E)IDE hard drive
|
||||
parameters. For example, hdparm can be used to tweak hard drive
|
||||
@ -22,7 +24,6 @@ performance and to spin down hard drives for power conservation.
|
||||
CFLAGS="$RPM_OPT_FLAGS" %make_build STRIP=/bin/true LDFLAGS="$RPM_LD_FLAGS"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||
install -c -m 755 hdparm $RPM_BUILD_ROOT/sbin/hdparm
|
||||
|
Loading…
Reference in New Issue
Block a user