Skip to content

Commit

Permalink
[RPM] Add python3-setuptools to BuildRequires
Browse files Browse the repository at this point in the history
For setuptools to be picked up during the RPM build BuildRequires needs
to specify either python2-setuptools (for Python 2) or python3-setuptools
(for Python 3).
  • Loading branch information
matthewfeickert committed Jan 19, 2022
1 parent ca47692 commit 76e0a99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/rhel/xrootd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,17 @@ BuildRequires: json-c-devel

%if %{python2only}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%endif
%if %{python2and3}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%endif
%if %{python3only}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%endif

BuildRequires: openssl-devel
Expand Down

0 comments on commit 76e0a99

Please sign in to comment.