Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

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

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

    Code Block
    languagebash
    cp -rfv targetsvn/binvote/apache-ignite-fabric-<version>-bin.zip ~/rpmbuild/SOURCES/apache-ignite.zip
  5. Run build process

    Code Block
    languagebash
    rpmbuild -bb ~/rpmbuild/SPECS/apache-ignite.spec
    Tip

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

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

 

...