Open TimSaulino opened 1 year ago
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.)
@TimSaulino, does that rpm-build
package really have a dash ('-
') in its name? I thought it was named rpmbuild
.
yes, it has the dash in it for SUSE.
https://opensuse.pkgs.org/15.3/opensuse-oss-x86_64/rpm-build-4.14.1-29.46.x86_64.rpm.html
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