summaryrefslogtreecommitdiff
path: root/lib/rpmts.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-17 14:10:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-17 14:10:11 +0200
commitd89482a7c7777d379ab415ebba747b6af19babdb (patch)
tree086729e83518cbac0b829f6cb8d6e7054ebcead4 /lib/rpmts.h
parent37543ee0405c38a9d54a12bf0d54698773a3933c (diff)
downloadlibrpm-tizen-d89482a7c7777d379ab415ebba747b6af19babdb.tar.gz
librpm-tizen-d89482a7c7777d379ab415ebba747b6af19babdb.tar.bz2
librpm-tizen-d89482a7c7777d379ab415ebba747b6af19babdb.zip
Remove repackage support to finish off with rollback
The two main classes of rollback/repackage need are 1) Gimme back the previous version, this broke XYZ on my system. This is better handled by downgrading to the previous version of original package instead of repackaged garbage. We should maintain real package (version) history somewhere. 2) Upgrade messed up my configuration. Instead of repackaging everything we could be far more intelligent wrt config files, stick them into real version control or at least have hooks to do so. RPMCALLBACK_REPACKAGE_* and RPMTRANS_FLAG_REPACKAGE definitions left around to avoid needlessly breaking everybodys callbacks (for now)
Diffstat (limited to 'lib/rpmts.h')
-rw-r--r--lib/rpmts.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rpmts.h b/lib/rpmts.h
index d3895b7dc..1a51562e2 100644
--- a/lib/rpmts.h
+++ b/lib/rpmts.h
@@ -37,8 +37,8 @@ typedef enum rpmtransFlags_e {
RPMTRANS_FLAG_ALLFILES = (1 << 6), /*!< from --allfiles */
RPMTRANS_FLAG_KEEPOBSOLETE = (1 << 7), /*!< @todo Document. */
RPMTRANS_FLAG_NOCONTEXTS = (1 << 8), /*!< from --nocontexts */
- RPMTRANS_FLAG_DIRSTASH = (1 << 9), /*!< from --dirstash */
- RPMTRANS_FLAG_REPACKAGE = (1 << 10), /*!< from --repackage */
+ RPMTRANS_FLAG_DIRSTASH = (1 << 9), /*!< obsolete, unused */
+ RPMTRANS_FLAG_REPACKAGE = (1 << 10), /*!< obsolete, unused */
RPMTRANS_FLAG_PKGCOMMIT = (1 << 11),
RPMTRANS_FLAG_PKGUNDO = (1 << 12),
@@ -130,7 +130,6 @@ typedef enum rpmtsOpX_e {
RPMTS_OP_CHECK = 1,
RPMTS_OP_ORDER = 2,
RPMTS_OP_FINGERPRINT = 3,
- RPMTS_OP_REPACKAGE = 4,
RPMTS_OP_INSTALL = 5,
RPMTS_OP_ERASE = 6,
RPMTS_OP_SCRIPTLETS = 7,