mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 09:42:43 +00:00
Fix variable substitution
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
6b01995d39
commit
0fedb845a0
2 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue