summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-04 20:37:48 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-09 08:18:38 +0300
commit29674e476a9477cdf8c7c38743b6441eacb5f011 (patch)
tree8b7972c19b7855b69b83c801dd02996d4e6f01ce /build/spec.c
parentddf46496b38cd30df54950816f6379239259d2b9 (diff)
downloadrpm-29674e476a9477cdf8c7c38743b6441eacb5f011.tar.gz
rpm-29674e476a9477cdf8c7c38743b6441eacb5f011.tar.bz2
rpm-29674e476a9477cdf8c7c38743b6441eacb5f011.zip
Yet more url ripping - buildroot is never an url
- this is a bit nasty as it changes public interfaces but rename to make it explicit they're just plain paths, not urls
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/spec.c b/build/spec.c
index d4d8ab772..15c8a5a39 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -428,7 +428,7 @@ rpmSpec newSpec(void)
spec->readStack->next = NULL;
spec->readStack->reading = 1;
- spec->rootURL = NULL;
+ spec->rootDir = NULL;
spec->prep = NULL;
spec->build = NULL;
spec->install = NULL;
@@ -445,8 +445,8 @@ rpmSpec newSpec(void)
spec->sourceHeader = NULL;
spec->sourceCpioList = NULL;
- spec->gotBuildRootURL = 0;
- spec->buildRootURL = NULL;
+ spec->gotBuildRoot = 0;
+ spec->buildRoot = NULL;
spec->buildSubdir = NULL;
spec->passPhrase = NULL;
@@ -492,9 +492,9 @@ rpmSpec freeSpec(rpmSpec spec)
spec->check = freeStringBuf(spec->check);
spec->clean = freeStringBuf(spec->clean);
- spec->buildRootURL = _free(spec->buildRootURL);
+ spec->buildRoot = _free(spec->buildRoot);
spec->buildSubdir = _free(spec->buildSubdir);
- spec->rootURL = _free(spec->rootURL);
+ spec->rootDir = _free(spec->rootDir);
spec->specFile = _free(spec->specFile);
closeSpec(spec);