Create an RPM to install IAS
Closed this issue · 1 comments
acaproni commented
An RPM eases the installation of IAS in RedHat family servers.
The RPM must run the unit tests but not the integration tests that require apache kafka
acaproni commented
The SPEC to create the SOURCE RPM has been added in Tools/config
.
Running rpmbuild with the given spec file creates the source RPM and the RPM for the architecture of the machine where it runs (i.e. to build the RPM for fedora38, run rpmbuild in a fedora38 machine).
HOWTO:
- Install dependencies (the build process asks for the ones installed with RPM; python dependencies installed with pip like pyside6 cause the rpmbuild to fail later).
- A tar-zipped file of the IAS sources must be put in
rpmbuild/SOURCES
. The name of the file must match with the IAS release to install (i.eias-13.1.1.tar.gz
for IAS release 13.1.1). - The sources in the tar file must be in a folder named with the release number (i.e.
ias-13.1.1
for release 13.1.1). A tar-zip with such naming can be downloaded from the github of a release - edit the release number in the header of the SPEC file
- run rpmbuild:
rpmbuild -ba rpmbuild/SPECS/ias.spec