]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-cleanbody.patch
add support for aarch64
[packages/rpm.git] / rpm-cleanbody.patch
index f8b29efa47937feac44880f5691ff166ec1371af..4c25d33ac467a3414dac839d61bfb6bd1765459c 100644 (file)
@@ -1,10 +1,11 @@
 --- rpm-4.4.9/build/parseBuildInstallClean.c   2008-01-30 23:16:55.347346942 +0200
 +++ rpm-4.4.9/build/parseBuildInstallClean.c   2008-01-30 23:22:24.241459876 +0200
-@@ -51,7 +51,6 @@
+@@ -51,7 +51,7 @@
        if (s && *s)
-           appendStringBuf(*sbp, s);
+           *iobp = rpmiobAppend(*iobp, s, 0);
        s = _free(s);
--      sbp = NULL;     /* XXX skip %clean from spec file. */
-     }
-     /* There are no options to %build, %install, %check, or %clean */
+-#if !defined(RPM_VENDOR_OPENPKG) /* still-support-section-clean */
++#if !defined(RPM_VENDOR_OPENPKG) && !defined(RPM_VENDOR_PLD) /* still-support-section-clean */
+       /* OpenPKG still wishes to use "%clean" script/section */
+       iobp = NULL;    /* XXX skip %clean from spec file. */
+ #endif
This page took 0.027505 seconds and 4 git commands to generate.