summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-24 03:04:01 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-24 03:04:01 +0200
commit0034893b789590e49aebc09127ae90c6170cc148 (patch)
tree2034743fe8b339766b933483fe9108693f5c1535
parentf5a2728aa1d31185949cf31cb5baa4de4da68804 (diff)
downloadlibrpm-tizen-0034893b789590e49aebc09127ae90c6170cc148.tar.gz
librpm-tizen-0034893b789590e49aebc09127ae90c6170cc148.tar.bz2
librpm-tizen-0034893b789590e49aebc09127ae90c6170cc148.zip
doScript: Change 'what' to rpmBuildFlags.
-rw-r--r--build/build.c2
-rw-r--r--build/rpmbuild.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/build.c b/build/build.c
index 58b78b546..e4bf1cee9 100644
--- a/build/build.c
+++ b/build/build.c
@@ -48,7 +48,7 @@ static void doRmSource(rpmSpec spec)
/*
* @todo Single use by %%doc in files.c prevents static.
*/
-int doScript(rpmSpec spec, int what, const char *name, StringBuf sb, int test)
+int doScript(rpmSpec spec, rpmBuildFlags what, const char *name, StringBuf sb, int test)
{
const char * rootURL = spec->rootURL;
const char * rootDir;
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index fb8aaf2eb..1ac7119c1 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -278,7 +278,7 @@ char * parseExpressionString(rpmSpec spec, const char * expr);
* @param test don't execute scripts or package if testing
* @return 0 on success, RPMERR_SCRIPT on failure
*/
-int doScript(rpmSpec spec, int what, const char * name,
+int doScript(rpmSpec spec, rpmBuildFlags what, const char * name,
StringBuf sb, int test);
/** \ingroup rpmbuild