44 {
const char *s =
rpmExpand(
"%{?buildroot}", NULL);
46 (void)
addMacro(NULL,
"..buildroot", NULL, s, -1);
49 {
const char *s =
rpmExpand(
"%{?_builddir}", NULL);
51 (void)
addMacro(NULL,
".._builddir", NULL, s, -1);
62 sprintf(numbuf,
"%d", *
body.i32p);
123 {
const char *s =
rpmExpand(
"%{?_builddir}", NULL);
128 {
const char *s =
rpmExpand(
"%{?buildroot}", NULL);
163 const char **ep,
const char **vp,
const char **rp,
196 const char * n, * v, * r;
200 NVR = t =
xcalloc(1, strlen(n) + strlen(v) + strlen(r) +
sizeof(
"--"));
215 const char * n, * v, * r, * a;
225 NVRA = t =
xcalloc(1, strlen(n) + strlen(v) + strlen(r) + strlen(a) +
sizeof(
"--."));
251 && fcolors != NULL && ncolors > 0)
254 for (i = 0; i < ncolors; i++)
255 hcolor |= fcolors[i];