Skip to content

Commit

Permalink
Fix fedora package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Aug 10, 2024
1 parent a97d0bd commit a06281e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fedora-40-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Upload Release Assets
run: |
gh release upload "${{ env.VERSION }}" build/cadabra2-${{ env.VERSION }}-fedora-40.deb --clobber
gh release upload "${{ env.VERSION }}" build/cadabra2-${{ env.VERSION }}-fedora-40.rpm --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

4 changes: 4 additions & 0 deletions cmake/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ if(EXISTS "/etc/redhat-release")
message("-- This is a Fedora 35 system")
set(CPACK_RPM_PACKAGE_REQUIRES "python3-libs, gmp, libuuid, sqlite, gtkmm30, boost-system, boost-filesystem, boost-program-options, boost-regex, libstdc++, python3-matplotlib, python3-sympy, dvipng, texlive, texlive-ytableau")
set(CPACK_SYSTEM_NAME "fedora35")
elseif(LINUX_ISSUE MATCHES "40")
message("-- This is a Fedora 40 system")
set(CPACK_RPM_PACKAGE_REQUIRES "python3-libs, gmp, libuuid, sqlite, gtkmm30, boost-system, boost-filesystem, boost-program-options, boost-regex, libstdc++, python3-matplotlib, python3-sympy")
set(CPACK_SYSTEM_NAME "fedora40")
elseif(LINUX_ISSUE MATCHES "24")
message("-- This is a Fedora 24 system")
set(CPACK_RPM_PACKAGE_REQUIRES "python3-libs, gmp, libuuid, sqlite, gtkmm30, boost-system, boost-filesystem, boost-program-options, boost-regex, libstdc++, python3-matplotlib, dvipng, texlive, texlive-ytableau")
Expand Down

0 comments on commit a06281e

Please sign in to comment.