Author: glen Date: Wed Jan 30 21:21:49 2008 GMT
Module: SOURCES Tag: rpm-4_4_9
---- Log message:
- allow skiping %clean rm -rf
---- Files affected:
SOURCES:
rpm-cleanbody.patch (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/rpm-cleanbody.patch
diff -u /dev/null SOURCES/rpm-cleanbody.patch:1.1.2.1
--- /dev/null Wed Jan 30 22:21:49 2008
+++ SOURCES/rpm-cleanbody.patch Wed Jan 30 22:21:44 2008
@@ -0,0 +1,11 @@
+--- rpm-4.4.9/build/parseBuildInstallClean.c~ 2007-03-21 13:29:49.000000000
+0200
++++ rpm-4.4.9/build/parseBuildInstallClean.c 2008-01-30 23:16:55.347346942
+0200
+@@ -47,7 +47,7 @@
+ appendStringBuf(*sbp, s);
+ s = _free(s);
+ } else if (parsePart == PART_CLEAN) {
+- const char * s = rpmExpand("%{?buildroot:rm -rf '%{buildroot}'\n}",
NULL);
++ const char * s =
rpmExpand("%{?__spec_clean_body}%{!?__spec_clean_body:%{?buildroot:rm -rf
'%{buildroot}'\n}}\n", NULL);
+ if (s && *s)
+ appendStringBuf(*sbp, s);
+ s = _free(s);
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit