From 1fdcc4a2a0e65686d211eb497095e6b010af3318 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 1 Apr 2023 16:31:36 +0200 Subject: [PATCH] Release 24.3.0 --- NEWS | 20 ++++++++++++++++++++ rust2rpm/__init__.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ae68ce0..9d8f214 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,25 @@ rust2rpm +Version 24.3.0 +============== + +This version adds new settings to `rust2rpm.conf`: + +- `summary`: override the RPM package's `Summary` with a specific string + if the heuristics for generating a summary from the crate's description + produces nonsense +- `supported-arches`: build library crates and run their tests only on + architectures where they are supported + +The second setting allows generating spec files for Rust crates that only +have limited cross-platform compatibility that can still be included in +repositories for all architectures. This provides a workaround for limitations +of RPM (subpackages do not inherit `ExcludeArch` / `ExclusiveArch` tags) and +Fedora build infrastructure (`noarch` packages are included in repositories for +all architectures), and should make it possible to enable more features in more +crates without introducing broken dependencies on architectures where some +crates do not work. + Version 24.2.0 ============== diff --git a/rust2rpm/__init__.py b/rust2rpm/__init__.py index 2f561ca..71ee446 100644 --- a/rust2rpm/__init__.py +++ b/rust2rpm/__init__.py @@ -10,7 +10,7 @@ from rust2rpm import licensing # release of the last minor version. # # Only the major version is included in the header of generated spec files. -__version__ = "24.2.0" +__version__ = "24.3.0" TARGET_ARCHES = [ "x86_64",