- update to 8.1

This commit is contained in:
Karsten Hopp 2008-02-18 16:32:19 +00:00
parent c372192482
commit 07bc296705
4 changed files with 18 additions and 23 deletions

View File

@ -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

12
hdparm-8.1-nostrip.patch Normal file
View File

@ -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

View File

@ -1,12 +1,12 @@
Summary: A utility for displaying and/or setting hard disk parameters Summary: A utility for displaying and/or setting hard disk parameters
Name: hdparm Name: hdparm
Version: 7.7 Version: 8.1
Release: 1%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Group: Applications/System Group: Applications/System
URL: http://sourceforge.net/projects/hdparm/ URL: http://sourceforge.net/projects/hdparm/
Source: http://hdparm.sourceforge.net/sourceforge/hdparm/hdparm-%{version}.tar.gz 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
@ -41,6 +41,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/hdparm.8* %{_mandir}/man8/hdparm.8*
%changelog %changelog
* Mon Feb 18 2008 Karsten Hopp <karsten@redhat.com> 8.1-1
- update to 8.1
* Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 7.7-1 * Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 7.7-1
- update to 7.7 - update to 7.7

View File

@ -1 +1 @@
0d96f03155fe5c119ca338a51ad1eaa7 hdparm-7.7.tar.gz 87c1512497195204034503665f71f5fc hdparm-8.1.tar.gz