Adjust nodejs-devel Provides

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-04-03 09:07:15 -04:00
parent 4ffd58b121
commit 7000efe305
No known key found for this signature in database
GPG key ID: 45DB85A568286D11
2 changed files with 14 additions and 2 deletions

View file

@ -194,7 +194,9 @@ BuildRequires: unzip
BuildRequires: systemtap-sdt-devel
%if 0%{?nodejs_default}
Provides: nodejs = %{nodejs_envr}
%endif
%if %{with bundled}
Provides: bundled(libuv) = %{libuv_version}
@ -334,8 +336,12 @@ Requires: nodejs-packaging
Requires: libuv-devel%{?_isa}
%endif
%if 0%{?nodejs_default}
Provides: nodejs-devel = %{nodejs_envr}
Conflicts: nodejs-devel
%endif
Provides: nodejs-devel-pkg = %{nodejs_envr}
Conflicts: nodejs-devel-pkg
%description -n %{pkgname}-devel

View file

@ -197,7 +197,9 @@ BuildRequires: unzip
BuildRequires: systemtap-sdt-devel
{% endif %}
%if 0%{?nodejs_default}
Provides: nodejs = %{nodejs_envr}
%endif
%if %{with bundled}
Provides: bundled(libuv) = %{libuv_version}
@ -345,8 +347,12 @@ Requires: nodejs-packaging
Requires: libuv-devel%{?_isa}
%endif
%if 0%{?nodejs_default}
Provides: nodejs-devel = %{nodejs_envr}
Conflicts: nodejs-devel
%endif
Provides: nodejs-devel-pkg = %{nodejs_envr}
Conflicts: nodejs-devel-pkg
%description -n %{pkgname}-devel