mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Update make-rpm.sh.in
This commit is contained in:
@@ -25,6 +25,9 @@ tar="../@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.xz"
|
||||
|
||||
tar -cvJf "$tar" --exclude=\*.git --exclude=\*.tar.xz --exclude=\*.a --exclude=\*.la --exclude=\*.Po --exclude=\*.o -C .. dosbox-x || exit 1
|
||||
cp -vf "$tar" ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf dosbox-x.desktop ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf dosbox-x.appdata.xml ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf src/dosbox.png ~/rpmbuild/SOURCES/dosbox-x.png || exit 1
|
||||
rpmbuild -bb dosbox-x.spec || exit 1
|
||||
rm -v "$tar" || exit 1
|
||||
mv -v ~/rpmbuild/RPMS/$arch/@PACKAGE_NAME@-*@PACKAGE_VERSION@*.rpm "$dir/" || exit 1
|
||||
|
Reference in New Issue
Block a user