static int _cacheDependsRC = 1;
-const char *rpmNAME = PACKAGE;
+const char * const rpmNAME = PACKAGE;
-const char *rpmEVR = VERSION;
+const char * const rpmEVR = VERSION;
-int rpmFLAGS = RPMSENSE_EQUAL;
+const int rpmFLAGS = RPMSENSE_EQUAL;
/* rpmlib provides */
static rpmds rpmlibP = NULL;
#include "system.h"
/* just to put a marker in librpm.a */
-const char * RPMVERSION = VERSION;
+const char * const RPMVERSION = VERSION;
#include <rpm/rpmurl.h>
#include <rpm/rpmmacro.h> /* XXX for rpmGetPath */
return rpmrc;
}
-static const char * SCRIPT_PATH = "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin";
+static const char * const SCRIPT_PATH = "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin";
/**
* Return scriptlet name from tag.
extern struct rpmMacroContext_s * rpmCLIMacroContext;
-extern const char * RPMVERSION;
+extern const char * const RPMVERSION;
-extern const char * rpmNAME;
+extern const char * const rpmNAME;
-extern const char * rpmEVR;
+extern const char * const rpmEVR;
-extern int rpmFLAGS;
+extern const int rpmFLAGS;
/** \ingroup header
* Translate and merge legacy signature tags into header.