mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
spec work
This commit is contained in:
8
make-rpm.sh.in
Executable file
8
make-rpm.sh.in
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
tar="@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.xz"
|
||||
|
||||
tar -cvJf "$tar" --exclude=\*.git --exclude=\*.tar.gz --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
|
||||
|
Reference in New Issue
Block a user