All instructions are given from the root of release archive, available from Apache Ignite Release Build Project.

Prepare RPM-package

  1. Install build-required dependencies

    yum install -y rpmdevtools rpm-build
  2. Create directory layout

    rpmdev-setuptree
  3. Copy build specification and additional sources required for build

    cp -rfv git/packaging/rpm/* ~/rpmbuild
  4. Copy built binary from target/bin to sources directory

    cp -rfv svn/vote/apache-ignite-fabric-<version>-bin.zip ~/rpmbuild/SOURCES/apache-ignite.zip
  5. Run build process

    rpmbuild -bb ~/rpmbuild/SPECS/apache-ignite.spec

    To build also SRPM package, run with -ba flag instead

Package will be available in ~/rpmbuild/RPMS/noarch

 

  • No labels