depend on a specific redhat-rpm-config version

Relates: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/260
This commit is contained in:
Maxwell G 2023-09-07 16:15:33 +00:00
commit 28ea1be97b
Signed by: gotmax23
GPG key ID: F79E4E25E8C661F8

View file

@ -23,9 +23,13 @@ BuildRequires: python3-rpm-macros
# We constrain this to the version released after the code was split out that
# doesn't contain the same files.
# TODO: Replace with actual verion where the macros were split out
# Requires: redhat-rpm-config >= XXX
%if (0%{?fedora} >= 40 || 0%{?rhel} >= 10)
Requires: redhat-rpm-config >= 266-1
%else
# For testing purposes on older releases,
# we can depend on any version of redhat-rpm-config.
Requires: redhat-rpm-config
%endif
%description