commit d988f7052dce7a1e174226a3b1da2290d3ca7e04
Author: Jan Rękorajski <[email protected]>
Date:   Sun Dec 2 14:58:56 2012 +0100

    - removed namespace check in rpmal.c, it was unneccessary as the
      comparison was on unparsed names and broke name-to-provides check
      during upgrades
    - rel .5

 rpm-namespace-compare.patch | 37 -------------------------------------
 rpm.spec                    |  2 +-
 2 files changed, 1 insertion(+), 38 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index bfa3c75..1fbf4f9 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -52,7 +52,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.4.10
-Release:       35.4
+Release:       35.5
 License:       LGPL
 Group:         Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
diff --git a/rpm-namespace-compare.patch b/rpm-namespace-compare.patch
index eeb38c8..e38d8dd 100644
--- a/rpm-namespace-compare.patch
+++ b/rpm-namespace-compare.patch
@@ -196,40 +196,3 @@ diff -ur rpm-5.4.10/lib/depends.c 
rpm-5.4.10.nstype/lib/depends.c
      }
      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);
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/d988f7052dce7a1e174226a3b1da2290d3ca7e04

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to