Skip to content

Commit

Permalink
Reformat dnf installs in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoale committed Oct 17, 2024
1 parent c7ca824 commit c6040a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-rpms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,19 @@ jobs:
github.ref == 'refs/heads/main'
run: |
dnf -u update
dnf -y install gcc-fortran make cmake automake gcc-c++ libstdc++-devel
dnf -y install gcc-fortran
dnf -y install make
dnf -y install cmake
dnf -y install automake
dnf -y install gcc-c++
dnf -y install libstdc++-devel
dnf -y install rpm-build rpmdevtools
dnf -y install libev-devel gsl-devel libjpeg-turbo-devel fftw-devel cfitsio-devel
dnf -y install https://www.rpmfind.net/linux/fedora/linux/releases/39/Everything/x86_64/os/Packages/l/libnova-0.15.0-22.fc39.x86_64.rpm
dnf -y install https://www.rpmfind.net/linux/fedora/linux/releases/39/Everything/x86_64/os/Packages/l/libnova-devel-0.15.0-22.fc39.x86_64.rpm

rpmdev-setuptree
cp *.spec ~/rpmbuild/SPECS/
for spec in ~/rpmbuild/SPECS/*.spec; do
spectool -g -R "$spec"
rpmbuild -ba "$spec"
Expand Down
2 changes: 1 addition & 1 deletion libindi.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global forgeurl https://github.com/indilib/indi
Version: %{_version}
Version: 2.1.0
%define __cmake_in_source_build %{_vpath_builddir}
Name: indi
Release: lcogt%{?dist}
Expand Down

0 comments on commit c6040a9

Please sign in to comment.