diff --git a/netpbm-9.24-strip.patch b/netpbm-9.24-strip.patch new file mode 100644 index 0000000..c06cd29 --- /dev/null +++ b/netpbm-9.24-strip.patch @@ -0,0 +1,14 @@ +--- netpbm-9.24/Makefile.config.in.strip Wed Jun 19 16:02:02 2002 ++++ netpbm-9.24/Makefile.config.in Wed Jun 19 16:09:25 2002 +@@ -56,9 +56,9 @@ + + # STRIPFLAG is the option you pass to the above install program to make it + # strip unnecessary information out of binaries. +-STRIPFLAG = -s ++# STRIPFLAG = -s + # If you don't want to strip the binaries, just leave it null: +-#STRIPFLAG = ++STRIPFLAG = + + SYMLINK = ln -s + # At least some Windows environments don't have any concept of symbolic diff --git a/netpbm.spec b/netpbm.spec index b20664a..f50318b 100644 --- a/netpbm.spec +++ b/netpbm.spec @@ -1,7 +1,7 @@ Summary: A library for handling different graphics file formats. Name: netpbm Version: 9.24 -Release: 3 +Release: 5 Copyright: freeware Group: System Environment/Libraries Source0: netpbm-9.24-nojbig.tar.bz2 @@ -10,6 +10,7 @@ Source2: test-images.tar.gz Patch0: netpbm-9.8-install.patch Patch1: netpbm-9.9-time.patch Patch2: netpbm-9.24-struct.patch +Patch3: netpbm-9.24-strip.patch Buildroot: %{_tmppath}/%{name}-root BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl Obsoletes: libgr @@ -56,6 +57,7 @@ netpbm-progs. You'll also need to install the netpbm package. %patch0 -p1 -b .install %patch1 -p1 -b .time %patch2 -p1 -b .struct +%patch3 -p1 -b .strip mv shhopt/shhopt.h shhopt/pbmshhopt.h perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile @@ -174,6 +176,12 @@ $RPM_BUILD_ROOT%{_bindir}/{ppmfade,ppmshadow} %{_mandir}/man5/* %changelog +* Wed Jun 19 2002 Phil Knirsch 9.24-5 +- Don't forcibly strip binaries + +* Thu May 23 2002 Tim Powers +- automated rebuild + * Tue Apr 09 2002 Phil Knirsch 9.24-3 - Fixed a possible gcc compiler problem for inline struct parameters (#62181). - Added missing .map files to progs files selection (#61625).