21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
|
diff -Nru rpm-5.2.1.orig/build/pack.c rpm-5.2.1/build/pack.c
|
||
|
--- rpm-5.2.1.orig/build/pack.c 2009-11-19 16:52:08.000000000 +0100
|
||
|
+++ rpm-5.2.1/build/pack.c 2013-11-15 11:29:56.699947557 +0100
|
||
|
@@ -1185,14 +1185,14 @@
|
||
|
CSA_t csa = &csabuf;
|
||
|
rpmRC rc;
|
||
|
int xx;
|
||
|
-#if defined(RPM_VENDOR_OPENPKG) || defined(RPM_VENDOR_FEDORA) || defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* backward-compat-rpmtag-sourcepackage */
|
||
|
+#if defined(RPM_VENDOR_OPENPKG) || defined(RPM_VENDOR_FEDORA) || defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* backward-compat-rpmtag-sourcepackage */
|
||
|
rpmuint32_t val;
|
||
|
#endif
|
||
|
|
||
|
/* Add rpmlib markers for tracking. */
|
||
|
(void) rpmlibMarkers(spec->sourceHeader);
|
||
|
|
||
|
-#if defined(RPM_VENDOR_OPENPKG) || defined(RPM_VENDOR_FEDORA) || defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* backward-compat-rpmtag-sourcepackage */
|
||
|
+#if defined(RPM_VENDOR_OPENPKG) || defined(RPM_VENDOR_FEDORA) || defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* backward-compat-rpmtag-sourcepackage */
|
||
|
/* Mark package as a SRPM for backward compatibility with RPM < 4.4.6 */
|
||
|
he->tag = RPMTAG_SOURCEPACKAGE;
|
||
|
he->t = RPM_UINT32_TYPE;
|