Skip to content
Snippets Groups Projects
Verified Commit 914e8144 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

spec: fix buildrequires for rhel 7/8

because setuptools is so old on rhel
parent 025c7253
No related branches found
No related tags found
1 merge request!42Migrate package metadata to setup.cfg file
......@@ -21,6 +21,18 @@ BuildRequires: python3-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: systemd
# these are needed for setuptools to parse the version number
# out of gwdatafind_server/__init__.py, but only because setuptools
# is so old on rhel (< 46.4.0, https://github.com/pypa/setuptools/pull/1753)
%if 0%{?rhel} > 0 && 0%{?rhel} < 9
BuildRequires: python%{python3_pkgversion}-configobj
BuildRequires: python%{python3_pkgversion}-flask
BuildRequires: python%{python3_pkgversion}-ligo-segments
BuildRequires: python%{python3_pkgversion}-scitokens
# https://git.ligo.org/computing/packaging/rhel/python-configobj/-/issues/1
BuildRequires: python%{python3_pkgversion}-six
%endif
# -- src.rpm
%description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment