RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Per Øyvind Karlsen Root: /v/rpm/cvs Email: pkarl...@rpm5.org Module: rpm Date: 23-Mar-2011 21:48:41 Branch: HEAD Handle: 2011032320484000 Modified files: rpm CHANGES rpm/build parseFiles.c Log: always run %clean so it won't be required in .spec file. Summary: Revision Changes Path 1.3573 +1 -0 rpm/CHANGES 2.37 +3 -1 rpm/build/parseFiles.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.3572 -r1.3573 CHANGES --- rpm/CHANGES 23 Mar 2011 15:09:32 -0000 1.3572 +++ rpm/CHANGES 23 Mar 2011 20:48:40 -0000 1.3573 @@ -1,4 +1,5 @@ 5.4.0 -> 5.4.1: + - proyvind: always run %clean so it won't be required in .spec file. - devzero2000: permit in configure phase to enable the --enable-rpm-lua-extensions-based-on-rpmlib used by OpenPKG today and, for rpm.vercmp, by rpm.org (ref https://blueprints.launchpad.net/rpm/+spec/rpm-split-vendor-config-in-autofu) @@ . patch -p0 <<'@@ .' Index: rpm/build/parseFiles.c ============================================================================ $ cvs diff -u -r2.36 -r2.37 parseFiles.c --- rpm/build/parseFiles.c 3 Aug 2008 14:00:58 -0000 2.36 +++ rpm/build/parseFiles.c 23 Mar 2011 20:48:40 -0000 2.37 @@ -113,7 +113,9 @@ goto exit; } } - rc = nextPart; + + /* if no %clean section, add implicit */ + rc = (nextPart == PART_NONE) ? PART_CLEAN : nextPart; exit: argv = _free(argv); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org