This commit is contained in:
Jonathan Campbell
2018-02-16 16:56:33 -08:00
parent 053a2dd246
commit 2ff29bd381

View File

@@ -1,7 +1,7 @@
#!/bin/bash
tar="@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.xz"
tar -cvJf "$tar" --exclude=\*.git --exclude=\*.tar.gz --exclude=\*.o -C .. dosbox-x || exit 1
tar -cvJf "$tar" --exclude=\*.git --exclude=\*.tar.xz --exclude=\*.o -C .. dosbox-x || exit 1
cp -vf "$tar" ~/rpmbuild/SOURCES/ || exit 1
rpmbuild -ba dosbox-x.spec || exit 1
rm -v "$tar" || exit 1