Update RPM script for Rocky Linux 9 - #667
Merged
Merged
Conversation
This uses the 'dist' RPM macro instead of relying on the version information of CentOS packages. This approach works on CentOS 7 and 8 as well.
Contributor
Author
|
Additionally, a list of build requirements on Rocky Linux 9: dnf install --assumeyes git make g++ rpmdevtools bzip2-devel curl-devel libatomic libuuid-devel libzstd-devel lz4-devel numactl-devel openssl-devel scl-utils systemd-devel tcl-devel
dnf install --assumeyes epel-release
dnf install --assumeyes jemalloc-devel tcltls
dnf config-manager --assumeyes --set-enabled crb
dnf install --assumeyes snappy-develThis might not be an exhaustive list. I used the build instructions for CentOS 8 as a reference but I tried to avoid installing the whole "Development tools" group. |
BadassGhost
approved these changes
Jul 21, 2023
|
Please provide also office RedHat 9 packages (as in compatible with Alma and Rocky 9) :) |
|
We would also be really happy if AL9 pkgs would be released as we are upgrading out fleet from C7 to AL9. Any way to push this forward? |
|
Looking at spec file, initscripts and chkconfig requirements can also be removed as they are not needed on systemd system. |
JohnSully
approved these changes
Mar 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
KeyDB compiles on Rocky Linux 9 and 'make test' passes completely. However, the RPM package generation script was incompatible, as it relied on the version information of CentOS packages that were not available on Rocky Linux. This pull request uses the 'dist' RPM macro instead, which works on CentOS 7 and 8 as well.
This should work on CentOS Stream 9, RHEL 9, and variants like AlmaLinux 9 as well. Hopefully, there is going to be official RPM packages for these systems.