Commit c997b863 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Build the RPMS in the source dir, where the git describe command will actually work

parent fc1f8084
......@@ -32,10 +32,11 @@ fi
# SPEC_PREFIX="--define \"_prefix @LINPHONE_BUILDER_SPEC_PREFIX@\""
# fi
cd @ep_build@
cd @ep_source@
# TODO rpmbuild -ba @ep_build@/@LINPHONE_BUILDER_SPEC_FILE@ --define "_topdir $RPM_TOPDIR" $SPEC_PREFIX --with bc $VERBOSE @ep_redirect_to_file@
rpmbuild -ba @ep_build@/@LINPHONE_BUILDER_SPEC_FILE@ \
--define "_topdir $RPM_TOPDIR" --define '_PKG_CONFIG_PATH $PKG_CONFIG_PATH'\
--define "_builddir @ep_source@" \
@LINPHONE_BUILDER_RPMBUILD_GLOBAL_OPTION@ \
@LINPHONE_BUILDER_RPMBUILD_OPTIONS@ \
$VERBOSE @ep_redirect_to_file@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment