Skip to content

Commit

Permalink
github: fix build-rpm-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wheeler committed Aug 15, 2024
1 parent d4dd859 commit 3ff39b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-rpm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
cp xnec2c.spec /root/rpmbuild/SPECS/
# Create a properly versioned tarball
TAR_FILE=$(ls xnec2c-*.tar.gz)
TAR_FILE=$(find -name xnec2c-*.tar.gz|head -n1)
mkdir -p /root/rpmbuild/SOURCES/xnec2c-${VERSION}
tar -xzf $TAR_FILE --strip-components=1 -C /root/rpmbuild/SOURCES/xnec2c-${VERSION}
tar -czf /root/rpmbuild/SOURCES/xnec2c-${VERSION}.tar.gz -C /root/rpmbuild/SOURCES xnec2c-${VERSION}
Expand Down

0 comments on commit 3ff39b2

Please sign in to comment.