Release 26.1.0

This commit is contained in:
Fabio Valentini 2024-04-12 15:26:04 +02:00
parent d4dc720e87
commit f01dae6f60
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF
2 changed files with 29 additions and 2 deletions

View file

@ -1,6 +1,11 @@
Unreleased
Version 26.1.0
==========
This release includes some quality-of-life improvements and fixes for minor
issues. Some of the changes in this release cause slightly different spec files
to be generated in some cases, but the changes are backwards-compatible with
spec files that were generated with rust2rpm v26.
Added:
- Support for generating spec files that target distributions with older
@ -14,6 +19,28 @@ Added:
cargo in `rust2rpm.toml` was added. With this change, all flags and arguments
that affect feature flags that are passed to cargo can now be configured via
`rust2rpm.toml`.
- Support for specifying the `debuginfo` level in `rust2rpm.toml` was added.
This setting is propagated via the `%rustflags_debuginfo` macro.
- Support for specifying the "URL" and "Source" URL was added for packages that
use the "project" or "workspace" templates. This setting can be used to avoid
two "FIXME" items in generated spec files.
Changed:
- The template for "project" packages (i.e. non-workspace crates that are not
packaged from crates.io) no longer defines the `%crate` macro, which is
unused in this template.
- Statically known `BuildRequires` (i.e. from the `requires.build` setting in
`rust2rpm.toml`) are no longer added dynamically in `%generate_buildrequires`,
but statically as normal `BuildRequires`. This makes it possible to add
dependencies that need to be present in `%prep` (which is run before
dynamically generated `BuildRequires` are processed and installed).
Fixed:
- Fixed exception handling in the validation logic for `rust2rpm.toml` files.
- Removed "gray" color from "info" level log messages. This should fix the
issue where these messages were "invisible" in some terminal color schemes.
Version 26.0.0
==============

View file

@ -12,7 +12,7 @@ __all__ = ["licensing"]
# release of the last minor version.
#
# Only the major version is included in the header of generated spec files.
__version__ = "26.0.0"
__version__ = "26.1.0"
TARGET_ARCHES = [
"x86_64",