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

OpenSUSE Leap /agent/rpm build Packages #3053

Open
TimSaulino opened this issue Oct 26, 2022 · 3 comments
Open

OpenSUSE Leap /agent/rpm build Packages #3053

TimSaulino opened this issue Oct 26, 2022 · 3 comments
Assignees
Labels
Agent Code Infrastructure Containerization Of and relating to the process of setting up and maintaining container images enhancement Functional Testing packaging Issues related to software packaging

Comments

@TimSaulino
Copy link
Member

In order to get 'make rpm' command to work properly, the following packages need to be installed:

make
python3-pip
rpmlint
tar
gzip
rpmbuild
jinja2-cli

@webbnh
Copy link
Member

webbnh commented Oct 26, 2022

Currently what we do to build an RPM is to run the build in an appropriate distro's base container image with the following installed using the OS package manager:

git
make
python3-jinja2
python3-pip
rpmlint
rpm-build

and with jinja2-cli installed using Pip (since it's not yet available as an RPM for all our favorite platforms).

So, to cover OpenSUSE it looks like we should add tar and gzip to our list, and we need to handle the difference in name between your rpmbuild and our rpm-build (as well as the name of the package manager, presumably). (I'm assuming that an attempt to install a package which is already present will be a no-op.)

@webbnh webbnh self-assigned this Oct 26, 2022
@webbnh webbnh added enhancement Agent Code Infrastructure packaging Issues related to software packaging Containerization Of and relating to the process of setting up and maintaining container images Functional Testing labels Oct 26, 2022
@portante
Copy link
Member

@TimSaulino, does that rpm-build package really have a dash ('-') in its name? I thought it was named rpmbuild.

@TimSaulino
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent Code Infrastructure Containerization Of and relating to the process of setting up and maintaining container images enhancement Functional Testing packaging Issues related to software packaging
Projects
None yet
Development

No branches or pull requests

3 participants