Expand description
cargo-rpm: Cargo subcommand for creating RPM releases of Rust projects
Modules§
- application
cargo-rpm
application definition- archive
- Tarball builder for release archives (to be passed to rpmbuild)
- builder
- RPM builder
- commands
cargo rpm
subcommands- config
Cargo.toml
parser specialized for thecargo rpm
use case- error
- Error types
- license
- Convert Cargo’s SPDX 2.1 licenses to the format used by RPM’s
License
field. RPM’s valid licenses can be found in the “Short Name” column of the “Good Licenses” table from the Licensing page of the Fedora Project Wiki: - rpmbuild
- Wrapper for running the
rpmbuild
command - target
- Target-type autodetection for crates
- target_
architecture - Derive rpm target architecture names from rust targets: https://forge.rust-lang.org/release/platform-support.html https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch01s03.html
- templates
- Handlebars templates (for RPM specs, etc)