diff --git a/hdparm-7.6-nostrip.patch b/hdparm-7.6-nostrip.patch deleted file mode 100644 index 77611f6..0000000 --- a/hdparm-7.6-nostrip.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- hdparm-7.6/Makefile.nostrip 2007-07-10 12:28:33.000000000 +0200 -+++ hdparm-7.6/Makefile 2007-07-10 12:28:53.000000000 +0200 -@@ -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 -@@ -28,7 +28,7 @@ all: hdparm - - hdparm: hdparm.h $(OBJS) - $(CC) $(LDFLAGS) -o hdparm $(OBJS) -- strip hdparm -+# strip hdparm - - install: all hdparm.8 - if [ ! -z $(DESTDIR) ]; then $(INSTALL_DIR) $(DESTDIR) ; fi diff --git a/hdparm-8.1-nostrip.patch b/hdparm-8.1-nostrip.patch new file mode 100644 index 0000000..6e1eb6b --- /dev/null +++ b/hdparm-8.1-nostrip.patch @@ -0,0 +1,12 @@ +diff -up hdparm-8.1/Makefile.nostrip hdparm-8.1/Makefile +--- hdparm-8.1/Makefile.nostrip 2008-02-18 17:30:51.000000000 +0100 ++++ hdparm-8.1/Makefile 2008-02-18 17:31:00.000000000 +0100 +@@ -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.spec b/hdparm.spec index 62930d5..26313f0 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: 7.7 +Version: 8.1 Release: 1%{?dist} License: BSD Group: Applications/System URL: http://sourceforge.net/projects/hdparm/ Source: http://hdparm.sourceforge.net/sourceforge/hdparm/hdparm-%{version}.tar.gz -Patch0: hdparm-7.6-nostrip.patch +Patch0: hdparm-8.1-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 +* Mon Feb 18 2008 Karsten Hopp 8.1-1 +- update to 8.1 + * Fri Aug 24 2007 Karsten Hopp 7.7-1 - update to 7.7 diff --git a/sources b/sources index 5966446..6bbb160 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0d96f03155fe5c119ca338a51ad1eaa7 hdparm-7.7.tar.gz +87c1512497195204034503665f71f5fc hdparm-8.1.tar.gz