OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 12-Sep-2003 13:54:42
Branch: HEAD Handle: 2003091212544100
Modified files:
openpkg-src/openpkg HISTORY rpm.patch.bugfix rpm.patch.feature
rpm.patch.porting rpm.patch.regen
Log:
unconditionally remove temporary files of generated/executed scripts
Summary:
Revision Changes Path
1.46 +1 -0 openpkg-src/openpkg/HISTORY
1.17 +1 -1 openpkg-src/openpkg/rpm.patch.bugfix
1.17 +23 -2 openpkg-src/openpkg/rpm.patch.feature
1.21 +1 -1 openpkg-src/openpkg/rpm.patch.porting
1.16 +1 -1 openpkg-src/openpkg/rpm.patch.regen
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.45 -r1.46 HISTORY
--- openpkg-src/openpkg/HISTORY 12 Sep 2003 10:09:48 -0000 1.45
+++ openpkg-src/openpkg/HISTORY 12 Sep 2003 11:54:41 -0000 1.46
@@ -2,6 +2,7 @@
2003
====
+20030912 unconditionally remove temporary files of generated/executed scripts
20030912 do not remove the builded sources in %clean to be consistent with other
OpenPKG packages
20030912 include all essential RPM C API headers in <prefix>/include/rpm/
20030912 add file(1) magic* files to <prefix>/lib/openpkg/
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.bugfix
============================================================================
$ cvs diff -u -r1.16 -r1.17 rpm.patch.bugfix
--- openpkg-src/openpkg/rpm.patch.bugfix 11 Sep 2003 19:15:30 -0000 1.16
+++ openpkg-src/openpkg/rpm.patch.bugfix 12 Sep 2003 11:54:41 -0000 1.17
@@ -10,7 +10,7 @@
## 'patch' tool to upgrade those files. Each patch snippet is annotated
## with a short description.
##
-## Created on: 11-Sep-2003
+## Created on: 12-Sep-2003
##
## ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
## RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.feature
============================================================================
$ cvs diff -u -r1.16 -r1.17 rpm.patch.feature
--- openpkg-src/openpkg/rpm.patch.feature 11 Sep 2003 19:15:30 -0000 1.16
+++ openpkg-src/openpkg/rpm.patch.feature 12 Sep 2003 11:54:41 -0000 1.17
@@ -10,7 +10,7 @@
## 'patch' tool to upgrade those files. Each patch snippet is annotated
## with a short description.
##
-## Created on: 11-Sep-2003
+## Created on: 12-Sep-2003
##
## ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
## RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ -272,7 +272,7 @@
+---------------------------------------------------------------------------
Index: build/build.c
--- build/build.c 4 Mar 2003 15:27:33 -0000 1.1.1.20
-+++ build/build.c 24 Aug 2003 13:10:15 -0000
++++ build/build.c 12 Sep 2003 11:27:33 -0000
@@ -33,7 +33,15 @@
for (p = spec->sources; p != NULL; p = p->next) {
@@ -305,6 +305,27 @@
rc = Unlink(fn);
fn = _free(fn);
}
+
++---------------------------------------------------------------------------
+| Unconditionally remove temporary files ("rpm-tmp.XXXXX") which
+| were generated for the executed scripts. In OpenPKG we run the
+| scripts in debug mode ("set -x") anyway, so we never need to
+| see the whole generated script -- not even if it breaks. Instead
+| we would just have temporary files staying around forever.
++---------------------------------------------------------------------------
+Index: build/build.c
+--- build/build.c 4 Mar 2003 15:27:33 -0000 1.1.1.20
++++ build/build.c 12 Sep 2003 11:27:33 -0000
+@@ -242,7 +258,9 @@
+
+ exit:
+ if (scriptName) {
++#ifndef OPENPKG
+ if (!rc)
++#endif
+ (void) Unlink(scriptName);
+ scriptName = _free(scriptName);
+ }
+---------------------------------------------------------------------------
| Make sure the "Provides" headers are available for querying from the
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.porting
============================================================================
$ cvs diff -u -r1.20 -r1.21 rpm.patch.porting
--- openpkg-src/openpkg/rpm.patch.porting 11 Sep 2003 19:15:30 -0000 1.20
+++ openpkg-src/openpkg/rpm.patch.porting 12 Sep 2003 11:54:41 -0000 1.21
@@ -10,7 +10,7 @@
## 'patch' tool to upgrade those files. Each patch snippet is annotated
## with a short description.
##
-## Created on: 11-Sep-2003
+## Created on: 12-Sep-2003
##
## ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
## RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.regen
============================================================================
$ cvs diff -u -r1.15 -r1.16 rpm.patch.regen
--- openpkg-src/openpkg/rpm.patch.regen 11 Sep 2003 19:15:30 -0000 1.15
+++ openpkg-src/openpkg/rpm.patch.regen 12 Sep 2003 11:54:41 -0000 1.16
@@ -10,7 +10,7 @@
## 'patch' tool to upgrade those files. Each patch snippet is annotated
## with a short description.
##
-## Created on: 11-Sep-2003
+## Created on: 12-Sep-2003
##
## ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
## RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]