fix strip behavior so debuginfo packages aren't empty

This commit is contained in:
Peter Jones 2005-08-24 21:52:55 +00:00
parent a6e1972613
commit 160a8459e6

View File

@ -1,7 +1,7 @@
Summary: NFS utlilities and supporting daemons for the kernel NFS server. Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Name: nfs-utils Name: nfs-utils
Version: 1.0.7 Version: 1.0.7
Release: 14 Release: 15
# group all 32bit related archs # group all 32bit related archs
%define all_32bit_archs i386 i686 athlon %define all_32bit_archs i386 i686 athlon
@ -48,6 +48,7 @@ Patch66: nfs-utils-1.0.7-mountd-stat64.patch
Patch100: nfs-utils-1.0.7-compile.patch Patch100: nfs-utils-1.0.7-compile.patch
Patch150: nfs-utils-1.0.6-pie.patch Patch150: nfs-utils-1.0.6-pie.patch
Patch151: nfs-utils-1.0.7-strip.patch
Group: System Environment/Daemons Group: System Environment/Daemons
Obsoletes: nfs-server Obsoletes: nfs-server
@ -110,6 +111,7 @@ mv libevent-%{eventvers} support/event
# Do the magic to get things to compile # Do the magic to get things to compile
%patch100 -p1 -b .compile %patch100 -p1 -b .compile
%patch150 -p1 -b .pie %patch150 -p1 -b .pie
%patch151 -p1 -b .strip
%ifarch s390 s390x %ifarch s390 s390x
perl -pi -e 's/-fpie/-fPIE/' */*/Makefile perl -pi -e 's/-fpie/-fPIE/' */*/Makefile
%endif %endif
@ -255,6 +257,9 @@ fi
%config /etc/rc.d/init.d/nfslock %config /etc/rc.d/init.d/nfslock
%changelog %changelog
* Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
- don't strip during "make install", so debuginfo packages are generated right
* Thu Aug 18 2005 Florian La Roche <laroche@redhat.com> * Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
- no need to still keep a requirement for kernel-2.2 or newer - no need to still keep a requirement for kernel-2.2 or newer