- update to 8.1
This commit is contained in:
parent
c372192482
commit
07bc296705
@ -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
12
hdparm-8.1-nostrip.patch
Normal 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
|
||||
|
@ -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 <karsten@redhat.com> 8.1-1
|
||||
- update to 8.1
|
||||
|
||||
* Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 7.7-1
|
||||
- update to 7.7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user