- fix debuginfo package (#434644)
This commit is contained in:
parent
901a145be6
commit
0e9da41287
@ -1,12 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
21
hdparm-8.4-nostrip.patch
Normal file
21
hdparm-8.4-nostrip.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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
|
||||||
|
|
@ -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: 8.4
|
Version: 8.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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-8.1-nostrip.patch
|
Patch0: hdparm-8.4-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 25 2008 Karsten Hopp <karsten@redhat.com> 8.4-2
|
||||||
|
- fix debuginfo package (#434644)
|
||||||
|
|
||||||
* Wed Feb 20 2008 Karsten Hopp <karsten@redhat.com> 8.4-1
|
* Wed Feb 20 2008 Karsten Hopp <karsten@redhat.com> 8.4-1
|
||||||
- version 8.4
|
- version 8.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user