Adjust nodejs-devel Provides

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-04-03 09:05:25 -04:00
parent a293cec3bf
commit 64f0989a8d
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 14 additions and 2 deletions

View File

@ -193,7 +193,9 @@ BuildRequires: unzip
%if 0%{?nodejs_default}
Provides: nodejs = %{nodejs_envr}
%endif
%if %{with bundled}
Provides: bundled(libuv) = %{libuv_version}
@ -333,8 +335,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