From 0034893b789590e49aebc09127ae90c6170cc148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Wed, 24 Oct 2007 03:04:01 +0200 Subject: doScript: Change 'what' to rpmBuildFlags. --- build/build.c | 2 +- build/rpmbuild.h | 2 +- 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 -- cgit v1.2.3