1e63a25
Removing @INSTALL_STRIP@ prevents stripping of debuginfo at %install time
1e63a25
1e63a25
Cleaning up top_srcdir prevents debuginfo package creation fails like this:
1e63a25
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
1e63a25
1e63a25
--- proftpd-1.3.2rc3/Make.rules.in	2009-01-08 16:54:26.000000000 +0000
1e63a25
+++ proftpd-1.3.2rc3/Make.rules.in	2009-01-08 16:54:48.000000000 +0000
1e63a25
@@ -29,8 +29,8 @@
1e63a25
 INSTALL=@INSTALL@
1e63a25
 INSTALL_USER=@install_user@
1e63a25
 INSTALL_GROUP=@install_group@
1e63a25
-INSTALL_BIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
1e63a25
-INSTALL_SBIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
1e63a25
+INSTALL_BIN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
1e63a25
+INSTALL_SBIN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
1e63a25
 INSTALL_MAN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644
1e63a25
 
1e63a25
 RM=rm -f
1e63a25
--- proftpd-1.3.2rc3/contrib/mod_load/Makefile.in	2008-09-08 21:56:02.000000000 +0100
1e63a25
+++ proftpd-1.3.2rc3/contrib/mod_load/Makefile.in	2009-01-08 20:37:26.000000000 +0000
1e63a25
@@ -1,5 +1,5 @@
1e63a25
 top_builddir=../..
1e63a25
-top_srcdir=../../
1e63a25
+top_srcdir=../..
1e63a25
 srcdir=@srcdir@
1e63a25
 
1e63a25
 include $(top_srcdir)/Make.rules
1e63a25
--- proftpd-1.3.2rc3/contrib/mod_wrap2/Makefile.in	2008-09-08 21:56:02.000000000 +0100
1e63a25
+++ proftpd-1.3.2rc3/contrib/mod_wrap2/Makefile.in	2009-07-03 17:00:41.000000000 +0100
1e63a25
@@ -1,5 +1,5 @@
1e63a25
 top_builddir=../..
1e63a25
-top_srcdir=../../
1e63a25
+top_srcdir=../..
1e63a25
 srcdir=@srcdir@
1e63a25
 
1e63a25
 include $(top_srcdir)/Make.rules