]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
rename DEB_DEBSTATUS to SOLVABLE_INSTALLSTATUS
authorMichael Schroeder <mls@suse.de>
Thu, 29 Jan 2015 14:16:43 +0000 (15:16 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 29 Jan 2015 14:16:43 +0000 (15:16 +0100)
Also move it to the end of knownid to not break the ABI.

ext/repo_deb.c
src/knownid.h

index 65a2f0e65aa5cc0760cc01d5373d69fd77ad9f4a..4ddb8a3c36ae779051d4380a60460a556edb75da 100644 (file)
@@ -315,7 +315,7 @@ control2solvable(Solvable *s, Repodata *data, char *control)
          break;
        case 'S' << 8 | 'T':
          if (!strcasecmp(tag, "status"))
-           repodata_set_str(data, s - pool->solvables, DEB_DEBSTATUS, q);
+           repodata_set_poolstr(data, s - pool->solvables, SOLVABLE_INSTALLSTATUS, q);
          break;
        case 'S' << 8 | 'U':
          if (!strcasecmp(tag, "suggests"))
index 16098ac06136df77801627cd75c47f2f54548742..c094bf5b660e9576145dd6c7030f90cd8b289ad1 100644 (file)
@@ -45,7 +45,6 @@ KNOWNID(SOLVABLE_SUGGESTS,            "solvable:suggests"),
 KNOWNID(SOLVABLE_SUPPLEMENTS,          "solvable:supplements"),
 KNOWNID(SOLVABLE_ENHANCES,             "solvable:enhances"),
 KNOWNID(RPM_RPMDBID,                   "rpm:dbid"),
-KNOWNID(DEB_DEBSTATUS,                 "deb:status"),
 
 /* normal requires before this, prereqs after this */
 KNOWNID(SOLVABLE_PREREQMARKER,         "solvable:prereqmarker"),
@@ -259,6 +258,8 @@ KNOWNID(SIGNATURE_DATA,                     "signature:data"),
 
 KNOWNID(PRODUCT_REGISTER_FLAVOR,       "product:regflavor"),           /* installed and available product */
 
+KNOWNID(SOLVABLE_INSTALLSTATUS,                "solvable:installstatus"),      /* debian install status */
+
 KNOWNID(ID_NUM_INTERNAL,               0)
 
 #ifdef KNOWNID_INITIALIZE