]> granicus.if.org Git - libexpat/commitdiff
Travis CI: Build RPM package, too R_2_2_4
authorSebastian Pipping <sebastian@pipping.org>
Sat, 19 Aug 2017 14:46:41 +0000 (16:46 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 19 Aug 2017 14:46:41 +0000 (16:46 +0200)
.travis.sh
.travis.yml

index cde171198c5674f3c1c5894cee0bec88e3c0d628..f0e79659832c488de3349f75e08eb7093dd81560 100755 (executable)
@@ -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
index b41f7011fe5903e8cad817e64cca3ff2bf079290..30a1c5eafba45ca3855e30bd64eba43095b6733d 100644 (file)
@@ -20,6 +20,7 @@ addons:
       - clang-4.0
       - docbook2x
       - dos2unix
+      - rpm
 
 script:
   - ./.travis.sh