diff --git a/.cvsignore b/.cvsignore index 8a64e2d..0d6d43e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hdparm-8.6.tar.gz +hdparm-9.8.tar.gz diff --git a/hdparm-8.4-nostrip.patch b/hdparm-9.8-nostrip.patch similarity index 57% rename from hdparm-8.4-nostrip.patch rename to hdparm-9.8-nostrip.patch index 4413821..3de1bf4 100644 --- a/hdparm-8.4-nostrip.patch +++ b/hdparm-9.8-nostrip.patch @@ -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 diff --git a/hdparm.spec b/hdparm.spec index 4816c5a..fc6231f 100644 --- a/hdparm.spec +++ b/hdparm.spec @@ -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 9.8-1 +- update + * Wed Mar 05 2008 Karsten Hopp 8.6-1 - update to 8.6 - fix source URL diff --git a/sources b/sources index e47105d..96934bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -237fbceeeba6318b987983fd858994df hdparm-8.6.tar.gz +e393c9d938200b378dfa6a935825329c hdparm-9.8.tar.gz