Fix variable substitution

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-09-07 16:29:05 -04:00
parent b64d26c94a
commit 52f84b80ec

View File

@ -207,7 +207,7 @@ Provides: nodejs = %{nodejs_envr}
# preferable to an "extra" interpreter. For example, nodejs-20.5.0 will
# replace nodejs20-20.6.0.
%define unversioned_obsoletes_of_nodejsXX_if_default() %{expand:\
Obsoletes: nodejs%{NODEJS_MAJOR}%{?1:-%{1}}\
Obsoletes: nodejs%{nodejs_pkg_major}%{?1:-%{1}}\
}
%else
%define unversioned_obsoletes_of_nodejsXX_if_default() %{nil}