Minor conditional fix

Recommands does not exist on RHEL, not just EPEL
This commit is contained in:
Haikel Guemar 2018-01-16 17:58:04 +01:00
parent ddf9147898
commit b73e62c1a9

View file

@ -184,7 +184,7 @@ Provides: bundled(c-ares) = %{c_ares_version}
Provides: bundled(v8) = %{v8_version} Provides: bundled(v8) = %{v8_version}
# Make sure we keep NPM up to date when we update Node.js # Make sure we keep NPM up to date when we update Node.js
%if 0%{?epel} %if 0%{?rhel}
# EPEL doesn't support Recommends, so make it strict # EPEL doesn't support Recommends, so make it strict
Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist} Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
%else %else