cargo-rpm 0.1.1

Build RPMs from Rust projects using Cargo
cargo-rpm-0.1.1 is not a library.
Visit the last successful build: cargo-rpm-0.8.0

cargo rpm

Crate Build Status Apache 2.0 Licensed

A cargo subcommand for building .rpm releases of Rust projects.

Installation

Install cargo rpm by running: cargo install cargo-rpm.

Configuring a crate

To configure your crate for RPM releases, run cargo rpm init

This will create a .rpm/YOURCRATENAME.spec file which is passed to the rpmbuild command. Though the generated spec should work out of the box, it may need some customization if the resulting RPM has dependencies or files other than target binaries.

For more information on spec files, see: http://ftp.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html

Building RPMs

Once your crate has been configured, run cargo rpm build to build release targets for your project and package them into an RPM.

If you encounter errors, you may need to see more information about why rpmbuild failed. Run cargo rpm build -v to enable verbose mode.

Finished .rpm files will be placed in target/release/rpmbuild/RPMs/<arch>

License

The cargo-rpm crate is distributed under the terms of the Apache License (Version 2.0).

See LICENSE file in the iqlusion-io/crates toplevel directory for more information.