Revert "use python2 for building on EPEL 8"

This reverts commit af7e633b53.
This commit is contained in:
Stephen Gallagher 2021-11-29 16:54:59 -05:00
parent 4eee8bba8d
commit 075be12840
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -8,7 +8,7 @@
# This is used by both the nodejs package and the npm subpackage that # This is used by both the nodejs package and the npm subpackage that
# has a separate version - the name is special so that rpmdev-bumpspec # has a separate version - the name is special so that rpmdev-bumpspec
# will bump this rather than adding .1 to the end. # will bump this rather than adding .1 to the end.
%global baserelease 2 %global baserelease 1
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -149,13 +149,7 @@ BuildRequires: make
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-jinja2 BuildRequires: python3-jinja2
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: python-unversioned-command BuildRequires: python-unversioned-command
%else
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-jinja2
%endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: brotli-devel BuildRequires: brotli-devel
BuildRequires: gcc >= 6.3.0 BuildRequires: gcc >= 6.3.0
@ -685,9 +679,6 @@ end
%changelog %changelog
* Mon Nov 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.0-2
- Use python2 for building on EPEL 8
* Mon Nov 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.0-1 * Mon Nov 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 1:16.13.0-1
- Update to 16.13.0 - Update to 16.13.0
- https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0 - https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.13.0