-
Notifications
You must be signed in to change notification settings - Fork 5
RPM Packaging
John Wass edited this page Oct 4, 2022
·
5 revisions
GitHub CI builds a SRPM first and then performs a rpmbuild --rebuild
to produce the RPM, both are captured as artifacts in builds and releases.
Build from Rawhide container with Podman
make -f .copr/Makefile vendor
podman build -t fapolicy-analyzer:rawhide -f scripts/srpm/Containerfile.fc .
podman run --rm -it --network=none fapolicy-analyzer:rawhide
or from a RHEL container
make -f .copr/Makefile vendor
podman build -t fapolicy-analyzer:el -f scripts/srpm/Containerfile.el .
podman run --rm -it --network=none fapolicy-analyzer:el
Both examples produce a disconnected build using an unprivileged user.
RPMS for several platforms are also available from Copr
It is important to reference the guidelines here when packaging: