From cc8cabd57b81ada50d5ca5c85aebede54a991fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 20 Feb 2022 15:51:04 +0100 Subject: [PATCH] Version 21 --- NEWS | 13 +++++++++++++ rust2rpm/__init__.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 2b0e7a8..55dce04 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,18 @@ rust2rpm +Version 21 + +- new %crate_instdir convenience macro with the path to the + installation directory +- license and documentation files are now installed just once under + %crate_instdir and are marked with %license and %doc there +- link flags are now passed using the RUSTFLAGS envvar and include + package note linker script (when %_package_note_file is defined) +- CFLAGS/CXXFLAGS are passed to the processes started by cargo +- rpmautospec can be disabled with --no-rpmautospec +- minor tweaks to existence checks, documentation file detection, license tags, + version handling and spec file naming + Version 20 - fix autodetection of rpmspec if it was already used in the existing spec file diff --git a/rust2rpm/__init__.py b/rust2rpm/__init__.py index 3e4b8a1..858974b 100644 --- a/rust2rpm/__init__.py +++ b/rust2rpm/__init__.py @@ -1,4 +1,4 @@ from .metadata import * from . import licensing -__version__ = '20' +__version__ = '21'