news: add some missing changelog entries for 26.0.0

This commit is contained in:
Fabio Valentini 2024-03-09 11:03:41 +01:00
parent 8561830f02
commit 25bf9c165f
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF

View file

@ -19,11 +19,19 @@ Added:
- Support for automatically renaming installed executables was added. This is
useful when the default executable name would conflict with other packages.
This behaviour can be controlled with the new `package.bin-renames` setting.
- Configuration options for injecting additional commands into `%prep`,
`%build`, `%install`, and `%check` scriptlets and `%files` lists was
implemented. For example, this can be used to persist installation of
additional files like shell completions or manual pages in `rust2rpm.toml`.
- Functionality for configuring additional `Source` and `Patch` files via
`rust2rpm.toml` settings was added. This is useful for packages that need
additional source and / or patch files that need to be kept for new versions.
Some basic validation is done to ensure that numbers of source / patch files
don't conflict with existing ones (i.e. crate tarball, vendor tarball,
automatically generated patch, manually generated patch).
- Comments that are associated with a manual `Cargo.toml` patch can now be
stored and persisted in `rust2rpm.toml`.
stored and persisted in `rust2rpm.toml`. An error is raised if this setting
is present but no manual patch is generated.
Changed:
@ -31,6 +39,10 @@ Changed:
`rust2rpm.toml` - notably, specifying both `features.enable-all = true` with
a non-empty list of features for the `features.hide` setting is likely to
have unintended effects.
- When generating a package with `--compat`, the generated spec now automatically
ensures that no executables are installed (since they would conflict with the
executables from the non-compat package), so they no longer need to be patched
out from `Cargo.toml` manually.
Fixed:
@ -41,13 +53,13 @@ Fixed:
Removed:
- The `--all-features` CLI flag was removed. It was deprecated in v25.0.0 and
was replaced by a setting in `rust2rpm.toml`.
- The `--stdout` CLI flag was removed. It was deprecated in v25.0.0 because it
has never worked correctly when rust2rpm needed to write multiple files.
- The `--suffix` CLI argument was removed. It was deprecated in v24.2.0 and
replaced by the `--compat` flag, which does not require manually specifying
the suffix.
- The `--all-features` CLI flag was removed. It was deprecated in v25.0.0 and
was replaced by a setting in `rust2rpm.toml`.
Deprecated: