I added some
code to do cleanup in the spec file:
Index: VERSION
===================================================================
--- VERSION (revision 3669)
+++ VERSION (working copy)
@@ -1 +1 @@
-3.7.4
+3.7.4r3669M_bli
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3669)
+++ systemimager.spec (working copy)
@@ -327,6 +327,9 @@
http://developer.osdl.org/kees/software/imagemanip/
Index: VERSION
===================================================================
--- VERSION (revision 3669)
+++ VERSION (working copy)
@@ -1 +1 @@
-3.7.4
+3.7.4r3669M_bli
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3669)
+++ systemimager.spec (working copy)
@@ -327,6 +327,9 @@
http://developer.osdl.org/kees/software/imagemanip/
%changelog
+* Tue Jul 11 2006 Bernard Li <[EMAIL PROTECTED]>
+- Added code to cleanup buildroot etc.
+
* Sun Jul 02 2006 Bernard Li <[EMAIL PROTECTED]>
- After a init service is added, turn it off, because we don't want the
service to be turned on after installation (the user should do that)
@@ -542,9 +545,8 @@
#rm -f /tmp/%{name}-%{ver}-root/etc/systemimager/updateclient.local.exclude~
+* Tue Jul 11 2006 Bernard Li <[EMAIL PROTECTED]>
+- Added code to cleanup buildroot etc.
+
* Sun Jul 02 2006 Bernard Li <[EMAIL PROTECTED]>
- After a init service is added, turn it off, because we don't want the
service to be turned on after installation (the user should do that)
@@ -542,9 +545,8 @@
#rm -f /tmp/%{name}-%{ver}-root/etc/systemimager/updateclient.local.exclude~
%clean
-#cd $RPM_BUILD_DIR/%{name}-%{version}/
-#make distclean
-#rm -rf $RPM_BUILD_ROOT
+%__rm -rf $RPM_BUILD_DIR/%{name}-%{version}/
+%__rm -rf $RPM_BUILD_ROOT
-#cd $RPM_BUILD_DIR/%{name}-%{version}/
-#make distclean
-#rm -rf $RPM_BUILD_ROOT
+%__rm -rf $RPM_BUILD_DIR/%{name}-%{version}/
+%__rm -rf $RPM_BUILD_ROOT
%if %{_build_all}
Andrea can you test this under SUSE
and let me know if it's fine - I'll then check it in.
Thanks,
Bernard
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel