From b7cdf931857de42aa4379da4abb816335fde96d8 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 6 Feb 2024 11:56:45 -0500 Subject: [PATCH] Loosen rust-srpm-macros requirement https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/277 reverted the requirement for rust-srpm-macros to define %build_rustflags. Since RHEL's rust package will provide that as a subpackage with its own versioning scheme rather than rust-packaging's, the version constraint needs to be dropped. --- redhat-rpm-config.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index ea35018..8863df1 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -4,7 +4,7 @@ # 2) When making changes, increment the version (in baserelease) by 1. # rpmdev-bumpspec and other tools update the macro below, which is used # in Version: to get the desired effect. -%global baserelease 281 +%global baserelease 282 Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config @@ -108,8 +108,7 @@ Requires: python-srpm-macros >= 3.11-7 Requires: qt5-srpm-macros %endif Requires: qt6-srpm-macros -# rust-srpm-macros v24 contains %%build_rustflags defintion -Requires: rust-srpm-macros >= 24 +Requires: rust-srpm-macros Requires: package-notes-srpm-macros Requires: pyproject-srpm-macros @@ -262,6 +261,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Tue Feb 06 2024 Yaakov Selkowitz - 282-1 +- Loosen rust-srpm-macros requirement + * Mon Feb 05 2024 Jonathan Wright - 281-1 - simplify microarch macros for x86_64