summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-03-20 04:34:09 +0000
committermarc <devnull@localhost>1998-03-20 04:34:09 +0000
commit6ea468663f85cd5712ce296e61544de739f7316f (patch)
treea220087276c9b860cbb8252dd9c16cf2ddcd8a1a /lib
parent114a8e0fd8f9ac99b906603f28374f0cf83856d3 (diff)
downloadlibrpm-tizen-6ea468663f85cd5712ce296e61544de739f7316f.tar.gz
librpm-tizen-6ea468663f85cd5712ce296e61544de739f7316f.tar.bz2
librpm-tizen-6ea468663f85cd5712ce296e61544de739f7316f.zip
Added langpatt:
CVS patchset: 2038 CVS date: 1998/03/20 04:34:09
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmlib.h3
-rw-r--r--lib/rpmrc.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 67c7922a0..f92e9ce9d 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -221,8 +221,9 @@ extern const struct headerSprintfExtension rpmHeaderFormats[];
#define RPMVAR_BUILDSHELL 39
#define RPMVAR_INSTCHANGELOG 40
#define RPMVAR_BZIP2BIN 41
+#define RPMVAR_LANGPATT 42
-#define RPMVAR_NUM 42 /* number of RPMVAR entries */
+#define RPMVAR_NUM 43 /* number of RPMVAR entries */
char * rpmGetVar(int var);
int rpmGetBooleanVar(int var);
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 8e4d64826..d79cbaf22 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -112,6 +112,7 @@ static struct rpmOption optionTable[] = {
{ "ftpproxy", RPMVAR_FTPPROXY, 0, 0 },
{ "gzipbin", RPMVAR_GZIPBIN, 0, 1 },
{ "instchangelog", RPMVAR_INSTCHANGELOG, 0, 0 },
+ { "langpatt", RPMVAR_LANGPATT, 0, 0 },
{ "messagelevel", RPMVAR_MESSAGELEVEL, 0, 0 },
{ "netsharedpath", RPMVAR_NETSHAREDPATH, 0, 0 },
{ "optflags", RPMVAR_OPTFLAGS, 1, 0 },