}
if (rc && (ourrc = rc) >= terminate)
goto exit;
-diff -ur rpm-5.4.10/lib/rpmal.c rpm-5.4.10.nstype/lib/rpmal.c
---- rpm-5.4.10/lib/rpmal.c 2012-04-15 23:20:57.000000000 +0200
-+++ rpm-5.4.10.nstype/lib/rpmal.c 2012-11-30 12:57:52.579432191 +0100
-@@ -61,6 +65,7 @@
- alKey pkgKey; /*!< Containing package. */
- /*@observer@*/
- const char * entry; /*!< Dependency name. */
-+ nsType entryNS; /*!< Dependency namesapce. */
- unsigned short entryLen; /*!< No. of bytes in name. */
- unsigned short entryIx; /*!< Dependency index. */
- indexEntryType_e type; /*!< Type of available item. */
-@@ -271,6 +276,9 @@
- if (lenchk)
- return lenchk;
-
-+ if (a->entryNS != b->entryNS)
-+ return -1;
-+
- return strcmp(a->entry, b->entry);
- }
-
-@@ -305,6 +313,7 @@
- aie->pkgKey = pkgKey;
- /*@-assignexpose@*/
- aie->entry = Name;
-+ aie->entryNS = rpmdsNSType(provides);
- /*@=assignexpose@*/
- aie->entryLen = (unsigned short)strlen(Name);
- ix = rpmdsIx(provides);
-@@ -421,6 +431,7 @@
- memset(alloca(sizeof(*needle)), 0, sizeof(*needle));
- /*@-assignexpose -temptrans@*/
- needle->entry = KName;
-+ needle->entryNS = rpmdsNSType(ds);
- /*@=assignexpose =temptrans@*/
- needle->entryLen = (unsigned short)strlen(needle->entry);
-