summaryrefslogtreecommitdiff
path: root/build-recipe-spec
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-24 15:15:28 +0100
committerMichael Schroeder <mls@suse.de>2014-03-24 15:15:28 +0100
commit45e93d4dc10ddc4af68e83649d93dfb68ce42bf4 (patch)
tree243b7549b13fde559d92e7dfda946b3b1bcd654e /build-recipe-spec
parent799bfe1582456d518def4e74fe84923d3b53ec76 (diff)
remove getoptflags helper, use queryconfig instead
Diffstat (limited to 'build-recipe-spec')
-rw-r--r--build-recipe-spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-recipe-spec b/build-recipe-spec
index d2b30b6..cfa6072 100644
--- a/build-recipe-spec
+++ b/build-recipe-spec
@@ -60,7 +60,7 @@ recipe_prepare_spec() {
test $BUILD_USER = abuild && cp -p $BUILD_ROOT/root/.rpmmacros $BUILD_ROOT/home/abuild/.rpmmacros
# extract optflags from configuration
- getoptflags --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" ${BUILD_DEBUG:+--debug} > $BUILD_ROOT/root/.rpmrc
+ queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" optflags ${BUILD_DEBUG:+debug} > $BUILD_ROOT/root/.rpmrc
test $BUILD_USER = abuild && cp -p $BUILD_ROOT/root/.rpmrc $BUILD_ROOT/home/abuild/.rpmrc
if test -z "$ABUILD_TARGET"; then