From 7e5776d39d3c2dc3f1f341c96bbf8a6948de5682 Mon Sep 17 00:00:00 2001 From: swa Date: Mon, 10 Sep 2001 16:31:23 +0000 Subject: [PATCH] buildroot definition in the specfile fucks up the build process under suse. hence I moved it to the "rpm -ta" command --- Makefile.in | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5c2e648f..27e1e3fb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: Makefile.in,v 1.20 2001/08/02 22:04:29 jongfoster Exp $ +# $Id: Makefile.in,v 1.21 2001/09/10 11:12:49 oes Exp $ # # Written by and Copyright (C) 2001 the SourceForge # IJBSWA team. http://ijbswa.sourceforge.net @@ -28,6 +28,9 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # $Log: Makefile.in,v $ +# Revision 1.21 2001/09/10 11:12:49 oes +# Turning on -Wall +# # Revision 1.20 2001/08/02 22:04:29 jongfoster # Removing some remaining references to obsolete w32rulesdlg.[ch] # @@ -272,7 +275,7 @@ redhat-dist: ############################################################################# -# suse distribution +# suse distribution (need to be root to build) ############################################################################# suse-dist: @@ -283,8 +286,19 @@ suse-dist: cat junkbuster-suse.spec | sed 's/^Version:.*/Version: $(RPM_VERSION)/g' | sed 's/^Release:.*/Release: $(RPM_PACKAGEV)/g' > /tmp/abc && cp -f /tmp/abc junkbuster-suse.spec tar --exclude "CVS" --exclude "junkbuster-rh.spec" -cvzf ../ijbswa.tar.gz . # verify all files in their correct location needs to be done - cd .. && rpm -ta ijbswa.tar.gz - +# never use buildroot to define the location inside the spec +# file or suse will fuck up the build process. + cd .. && rpm -ta --buildroot /tmp/xxx ijbswa.tar.gz + +# handle with care. use with root. +suse-clean: + rpm -e junkbuster + rm -rf /etc/junkbuster + rm -rf /var/log/junkbuster + rm -f /etc/init.d/junkbuster + rm -f /usr/sbin/junkbuster + rm -f /usr/sbin/rcjunkbuster + rm -f /usr/share/man/man1/junkbuster.1.gz ############################################################################# # Windows distribution -- 2.39.2