aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/dist-srpm.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/targets/dist-srpm.sh')
-rw-r--r--.travis/targets/dist-srpm.sh22
1 files changed, 4 insertions, 18 deletions
diff --git a/.travis/targets/dist-srpm.sh b/.travis/targets/dist-srpm.sh
index 732b768..aa4e9e8 100644
--- a/.travis/targets/dist-srpm.sh
+++ b/.travis/targets/dist-srpm.sh
@@ -1,23 +1,9 @@
build() {
- pushd build > /dev/null
- ../configure \
- CFLAGS="-Wall -g -O0" \
- --disable-silent-rules \
- --enable-ronn \
- --enable-tests \
- --enable-valgrind \
- --enable-git-receiver \
- --enable-make \
- --enable-runserver
- popd > /dev/null
-
- make -C build dist-srpm
-}
-
-deploy_cond() {
- [[ "x${CC}" = "xgcc" ]]
+ default_configure
+ make dist-srpm
}
deploy() {
- FILES=( build/*.src.rpm )
+ FILES=( *.src.rpm )
+ [[ ${RV} -eq 0 ]] && [[ "x${CC}" = "xgcc" ]]
}