Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create RPM packaging for slim #603

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Conversation

Rohansjamadagni
Copy link
Contributor

What

Add support for building source and binary rpms

Why

I saw it on the roadmap and thought I'd contribute. Should be useful for a lot of folks running on RHEL based distros.

How Tested

Tested on fedora and almalinux containers.
Steps followed for testing:

dnf install -y git golang rpmdevtools
cd && git clone https://github.com/Rohansjamadagni/slim && cd slim
spectool -g -R packaging/slim.spec
rpmbuild -ba  packaging/slim.spec
dnf install -y /root/rpmbuild/RPMS/x86_64/slim-1.40.6-1.el9.x86_64.rpm
slim --version

I could probably add a GitHub action to automatically build the rpm and publish the artifacts. Please let me know if this would be helpful or if you have any other questions.

Signed-off-by: Rohan Jamadagni <[email protected]>
@kcq
Copy link
Member

kcq commented Nov 18, 2023

thank you @Rohansjamadagni ! reviewing the PR

@kcq kcq merged commit cbae046 into slimtoolkit:master Jan 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants