rpm/rpm-5.2.1-openmamba_no_deps_on_installing_srpms.patch

13 lines
424 B
Diff
Raw Normal View History

--- rpm-5.2.1.orig/lib/depends.c 2010-07-29 14:34:07.426001897 +0200
+++ rpm-5.2.1/lib/depends.c 2010-07-29 17:05:43.227002449 +0200
@@ -2832,6 +2832,9 @@
? rpmteDS(p, RPMTAG_CONFLICTNAME) : NULL);
/* XXX srpm's don't have directory paths. */
if (p->isSource) {
+#if defined(RPM_VENDOR_OPENMAMBA) /* no-deps-check-on-installing-srpms */
+ break;
+#endif
dirnames = NULL;
linktos = NULL;
} else {