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 14, 2024
1 parent dcf9f72 commit 5d92781
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-rpm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
- name: Build RPM
run: |
docker run --rm -v $(pwd):/workspace -w /workspace almalinux:9 /bin/bash -c "
set -x
# Install dependencies
dnf install -y epel-release
dnf install -y gcc make automake autoconf gtk3-devel gettext-devel libtool \
Expand All @@ -55,9 +57,6 @@ jobs:
# Generate the spec file
./autogen.sh
cp xnec2c.spec.in xnec2c.spec
sed -i 's|%{version}|${VERSION}|g' xnec2c.spec
sed -i 's|%{dist}|${DIST}|g' xnec2c.spec
# Build the RPM
rpmbuild -ba --define \"_version ${VERSION}\" --define \"_dist ${DIST}\" \
Expand Down

0 comments on commit 5d92781

Please sign in to comment.