diff --git a/.travis.sh b/.travis.sh index cde17119..f0e79659 100755 --- a/.travis.sh +++ b/.travis.sh @@ -39,6 +39,10 @@ cd expat if [[ ${MODE} = distcheck ]]; then ./configure make distcheck + + mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} + ln -v -s "$PWD"/expat-*.tar.bz2 ~/rpmbuild/SOURCES/ + rpmbuild -ba expat.spec else ./qa.sh "${MODE}" fi diff --git a/.travis.yml b/.travis.yml index b41f7011..30a1c5ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ addons: - clang-4.0 - docbook2x - dos2unix + - rpm script: - ./.travis.sh