summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-01 10:09:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-01 10:09:54 +0200
commit2f7c913723baa8135201fa930678d9e3d4138f2c (patch)
tree87ecb3abf3f0306384900245fefa796df006325e
parentfc53d307ad1a9c01ea622d53d93befdea472240b (diff)
downloadlibrpm-tizen-2f7c913723baa8135201fa930678d9e3d4138f2c.tar.gz
librpm-tizen-2f7c913723baa8135201fa930678d9e3d4138f2c.tar.bz2
librpm-tizen-2f7c913723baa8135201fa930678d9e3d4138f2c.zip
(no)dirtokens is just a build-time option now
-rw-r--r--build/poptBT.c5
-rw-r--r--rpmdb/poptDB.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/build/poptBT.c b/build/poptBT.c
index 71d37d1a7..99ff7c871 100644
--- a/build/poptBT.c
+++ b/build/poptBT.c
@@ -229,6 +229,11 @@ struct poptOption rpmBuildPoptTable[] = {
N_("override target platform"), "CPU-VENDOR-OS" },
{ "usecatalog", '\0', POPT_ARGFLAG_DOC_HIDDEN, &useCatalog, POPT_USECATALOG,
N_("lookup i18N strings in specfile catalog"), NULL},
+ { "nodirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 1,
+ N_("generate headers compatible with (legacy) rpm[23] packaging"),
+ NULL},
+ { "dirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 0,
+ N_("generate headers compatible with rpm4 packaging"), NULL},
POPT_TABLEEND
};
diff --git a/rpmdb/poptDB.c b/rpmdb/poptDB.c
index 2d7e51dbe..ac209e155 100644
--- a/rpmdb/poptDB.c
+++ b/rpmdb/poptDB.c
@@ -21,11 +21,6 @@ struct poptOption rpmDatabasePoptTable[] = {
NULL},
{ "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
N_("verify database files"), NULL},
- { "nodirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 1,
- N_("generate headers compatible with (legacy) rpm[23] packaging"),
- NULL},
- { "dirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 0,
- N_("generate headers compatible with rpm4 packaging"), NULL},
POPT_TABLEEND
};