Fix RPM spec file

This commit is contained in:
Robert de Rooy
2023-04-10 10:11:32 +02:00
parent 18ee7f7080
commit 0cd9ff9df8
2 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ if [ -z "${romversion}" ]; then
# Get the latest ROM release from the GitHub API.
romversion=$(curl --silent "https://api.github.com/repos/86Box/roms/releases/latest" |
grep '"tag_name":' |
sed -E 's/.*"([^"]+)".*/\1/')
sed -E 's/.*"v([^"]+)".*/\1/')
fi
# Switch to the repository root directory.