aplanas / fedora-rust / rust2rpm

Forked from fedora-rust/rust2rpm 4 years ago
Clone

Releases 10

If the developers have uploaded one or more tarball(s), you will be able to find them in the release folder.

* Translate '-or-later' and '+' license suffixes properly * Check /usr/lib/os-release in addition to /etc/os-release * Prettify summary and description automatically * Use %{expand:…} for %description to avoid escaping of newlines * Add '--suffix' option for "compat" packages * Implement option to skip building of crates (aka fast/bootstrap build) Git-EVTag-v0-SHA512: e3efb8954305bab99e9a0224b77873c0275b015ea3154d45d83ea18d35a51af7c7db286717b8c3e941cb193c7a1df9b1c6956ddd90173ab044d9f357a7eda5b8
* Always put upstream license in spec * Fix version in egg-info * Remove accidentally left Cargo.toml.deps * Fix packager detection fallback Git-EVTag-v0-SHA512: fcc158ff4cd259eef9577b2a99f4b1b73c9aef85439dbe311c4fa8dfa597acdb810e424b915992d41fce64ae76e34357eebfbdc218dd3a0a71ba6fc88fefeebb
* Pass `-Ccodegen-units=1` in RUSTFLAGS * Switch to `%{build_rustflags}` Git-EVTag-v0-SHA512: 48ddf371642b01785b5150b42335aaf5d800dfd07db7463c9da04d0d2159bfc679075ac6c46824e7315509ff89e2ae3debaee4cefa99affb8289013f75943ce7
* Generate %doc statements for readme from Cargo.toml * Split features into subpackages (`rust-$crate+$feature-devel`) * Add support for dependencies with same name * Add support for user configuration (`.rust2rpm.conf`, `_rust2rpm.conf`) * Option to not generate default changelog entry (`--no-auto-changelog-entry`) * Set `CARGO_HOME` to the local `.cargo` (required by new Rust) * Improvements for crates with pre-release versions * Fix `%cargo_install` with crates which use whitespace in files * Do not put unneeded optional dependencies in BuildRequires (`-Z avoid-dev-deps`) * Option to use all crate features when generating spec file * Use new-style changelog format (with TZ info) on Fedora * Option to use dynamic BuildRequires (requires RPM 4.15+) * Environment variables to control packager identity Git-EVTag-v0-SHA512: 26302a30a51fc217f539c907a882a4db5737051cb1ab9adebe1ce6a90d578b0ca7f99cd1b6ebf5abf3aeb64bbdfd2a3e9a20b84dd858d2978b1415e20aed22ff
* Improvements in RPM macros * Add support for handling local crates * Add option to copy crate into current working directory * Filter non-linux dependencies automatically * Translate SPDX licenses into Fedora ones (for Fedora and Mageia) Git-EVTag-v0-SHA512: 7aa00ca1ca9a9b740d06419ceafa630c640948d8d61f79af814d4271d21887603fd133a4455e464a541353c683ad96a9ca5091b86d4c743590dea7c36400683d
* Add cargo dependency for runtime (devel subpackages) * Use cp instead of install in macros in order to keep original permissions * Ignore yanked versions when no version is specified * Pass --no-fail-fast for cargo-test * Treat optional dependencies as "features" as well * Add support for "rlib" crate-type * Add support for Mageia and (open)SUSE in template Git-EVTag-v0-SHA512: e2bf56691beb3475bc1d7c7e95780b85e7dce9a66eb1991c2ade6ac0d11b1e87640b8fb58aabb7713e4c093758685e5ab0d0a1bf3dc9d4bd7fb3f9c4076f0b94
* Switch to /usr/share/cargo/registry for storing crates * Explicitly set rustdoc in macro so it won't collide with the one used by user * Add initial support for pre-release versions * Add support for versions with multiple wildcards (like 1.*.*) Git-EVTag-v0-SHA512: 9b6fe5a5205de2e2f4b1dcd06f2bf20a9cbdf558a31e743cad94d9cb83c2b2cf6e565bd44ce429d9738eef8e30569ec2e3edb54ee2bc4de0643a2b5e49cca075
* Use rich dependencies to fulfil requirements * Automagically strip [dev-dependencies] when building without tests * Add support for wildcard in version * Generate initial changelog * Use rust-packaging for BuildRequires to break loop * Other cleanups and fixes Git-EVTag-v0-SHA512: f8ecbc04da72fe3fd46d97553befcf3a1d9465dda3a50b25c1c7e7ce5d6f940bdf7f1f3bcf783f2266afe06c833c2b5fdc4e80ea714cfbe1721b2c6cf197dd31
* Automatic generation of summary and description * Initial patching of metadata * Save generated spec/patch as files instead of printing to stdout * Support for proc-macro kind of library * %cargo_build and %cargo_test are now accepting any parameters * Automatically strip [dev-dependencies] when %check is disabled Git-EVTag-v0-SHA512: bf650c1042db3762797b918665d2a072323d716be74cc0f045774fdfc7f06162dfb6af80fc857192b3e79cae85f80fb53292f73433b902475f0231fbe5b0ad3d
Git-EVTag-v0-SHA512: 5a0f840f296650804b85d24978054f12dbc1085e498da49abaf523ca8022b7ed0951ade4184cb81891a4dc6fd6a466563ac73fb953a3f9090e431a41af2fb553