This commit is contained in:
Karsten Hopp 2009-01-14 12:19:08 +00:00
parent 26f261de5b
commit eedcf5c643
4 changed files with 16 additions and 14 deletions

View File

@ -1 +1 @@
hdparm-8.6.tar.gz
hdparm-9.8.tar.gz

View File

@ -1,21 +1,20 @@
diff -up hdparm-8.4/Makefile.nostrip hdparm-8.4/Makefile
--- hdparm-8.4/Makefile.nostrip 2008-02-16 02:03:24.000000000 +0100
+++ hdparm-8.4/Makefile 2008-02-25 11:45:15.000000000 +0100
@@ -16,7 +16,7 @@ endif
diff -up hdparm-9.8/Makefile.nostrip hdparm-9.8/Makefile
--- hdparm-9.8/Makefile.nostrip 2009-01-14 12:48:52.000000000 +0100
+++ hdparm-9.8/Makefile 2009-01-14 12:49:17.000000000 +0100
@@ -16,7 +16,7 @@ STRIP ?= strip
CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
#LDFLAGS = -s -static
-LDFLAGS = -s
+LDFLAGS =
+LDFLAGS =
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -m 755 -d
@@ -26,7 +26,7 @@ OBJS = hdparm.o identify.o sgio.o
@@ -28,7 +28,6 @@ all: hdparm
hdparm: hdparm.h sgio.h $(OBJS)
$(CC) $(LDFLAGS) -o hdparm $(OBJS)
- strip hdparm
+# strip hdparm
- $(STRIP) hdparm
sgio.o: sgio.h
hdparm.o: hdparm.h sgio.h

View File

@ -1,12 +1,12 @@
Summary: A utility for displaying and/or setting hard disk parameters
Name: hdparm
Version: 8.6
Version: 9.8
Release: 1%{?dist}
License: BSD
Group: Applications/System
URL: http://sourceforge.net/projects/hdparm/
Source: http://download.sourceforge.net/hdparm/hdparm-%{version}.tar.gz
Patch0: hdparm-8.4-nostrip.patch
Patch0: hdparm-9.8-nostrip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: s390 s390x
@ -41,6 +41,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/hdparm.8*
%changelog
* Wed Jan 14 2009 Karsten Hopp <karsten@redhat.com> 9.8-1
- update
* Wed Mar 05 2008 Karsten Hopp <karsten@redhat.com> 8.6-1
- update to 8.6
- fix source URL

View File

@ -1 +1 @@
237fbceeeba6318b987983fd858994df hdparm-8.6.tar.gz
e393c9d938200b378dfa6a935825329c hdparm-9.8.tar.gz