From eedcf5c64353188cd9c2ed84f851f11a05f457cb Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Jan 14 2009 12:19:08 +0000 Subject: - update --- 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-8.4-nostrip.patch deleted file mode 100644 index 4413821..0000000 --- a/hdparm-8.4-nostrip.patch +++ /dev/null @@ -1,21 +0,0 @@ -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 - - 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 -+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 - - hdparm: hdparm.h sgio.h $(OBJS) - $(CC) $(LDFLAGS) -o hdparm $(OBJS) -- strip hdparm -+# strip hdparm - - sgio.o: sgio.h - diff --git a/hdparm-9.8-nostrip.patch b/hdparm-9.8-nostrip.patch new file mode 100644 index 0000000..3de1bf4 --- /dev/null +++ b/hdparm-9.8-nostrip.patch @@ -0,0 +1,20 @@ +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 = + INSTALL = install + INSTALL_DATA = $(INSTALL) -m 644 + INSTALL_DIR = $(INSTALL) -m 755 -d +@@ -28,7 +28,6 @@ all: hdparm + + hdparm: hdparm.h sgio.h $(OBJS) + $(CC) $(LDFLAGS) -o hdparm $(OBJS) +- $(STRIP) hdparm + + 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