-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-c1e45c1d01 2023-03-15 00:44:59.865665 -------------------------------------------------------------------------------- Name : rust2rpm Product : Fedora 36 Version : 24.1.0 Release : 1.fc36 URL : https://pagure.io/fedora-rust/rust2rpm Summary : Generate RPM spec files for Rust crates Description : rust2rpm is a tool that automates the generation of RPM spec files for Rust crates. -------------------------------------------------------------------------------- Update Information: Version 24.1.0 ============== Added: - Added an `enabled-features` setting to `rust2rpm.conf` files. This setting accepts a list of features which will be explicitly enabled, i.e. passed as flags to `%cargo_*` macros. This is useful when building binaries with additional non-default features, or when running tests requires enabling additional features. - Added warnings when the currently processed spec file uses version restrictions that are more strict than SemVer. Strong restrictions like these are almost always in place for reasons that don't apply to distribution packages (for example, MSRV compatibility policy). - Added "interactive" mode for generating spec files for projects that use a cargo workspace. This mode is required when the heuristics for determining the "main" crate (i.e. for determining the package name and version) fail. Changed: - Feature flags for required features of binary targets are automatically added to `%cargo_*` macro calls in generated spec files. The detection of "binary" targets does not take `required-features` into account, so these features need to be explicitly enabled for the expected binaries to be built by `cargo install` (which skips targets with missing `required-features`). - Attempting to generate spec files for crates that have SemVer "build metadata" in their version string now prints an error and fails. This was previously accepted, but could result in broken packages. - Parsing of `rust2rpm.conf` files now fails if the file content is considered "invalid" (for example, because of unrecognized or inconsistent settings). Fixed: - Tests no longer start to fail every January 1st. The current year is now correctly stripped from test fixtures. -------------------------------------------------------------------------------- ChangeLog: * Mon Mar 6 2023 Fabio Valentini <decathorpe@xxxxxxxxx> - 24.1.0-1 - Update to version 24.1.0; Fixes RHBZ#2175278 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-c1e45c1d01' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue