devel/hdparm hdparm-8.4-nostrip.patch, NONE, 1.1 hdparm.spec, 1.40, 1.41 hdparm-8.1-nostrip.patch, 1.1, NONE

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Mon Feb 25 10:50:27 UTC 2008


Author: karsten

Update of /cvs/extras/devel/hdparm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22049

Modified Files:
	hdparm.spec 
Added Files:
	hdparm-8.4-nostrip.patch 
Removed Files:
	hdparm-8.1-nostrip.patch 
Log Message:
- fix debuginfo package (#434644)

hdparm-8.4-nostrip.patch:

--- NEW FILE hdparm-8.4-nostrip.patch ---
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
 


Index: hdparm.spec
===================================================================
RCS file: /cvs/extras/devel/hdparm/hdparm.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- hdparm.spec	20 Feb 2008 12:10:38 -0000	1.40
+++ hdparm.spec	25 Feb 2008 10:49:53 -0000	1.41
@@ -1,12 +1,12 @@
 Summary: A utility for displaying and/or setting hard disk parameters
 Name: hdparm
 Version: 8.4
-Release: 1%{?dist}
+Release: 2%{?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-8.1-nostrip.patch
+Patch0: hdparm-8.4-nostrip.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 ExcludeArch: s390 s390x
 
@@ -17,7 +17,7 @@
 
 %prep
 %setup -q
-%patch0 -p1 
+%patch0 -p1
 
 %build
 perl -pi -e "s/-O2/$RPM_OPT_FLAGS/g" Makefile
@@ -41,6 +41,9 @@
 %{_mandir}/man8/hdparm.8*
 
 %changelog
+* Mon Feb 25 2008 Karsten Hopp <karsten at redhat.com> 8.4-2
+- fix debuginfo package (#434644)
+
 * Wed Feb 20 2008 Karsten Hopp <karsten at redhat.com> 8.4-1
 - version 8.4
 


--- hdparm-8.1-nostrip.patch DELETED ---




More information about the fedora-extras-commits mailing list