@@ -16,24 +16,22 @@ URL: https://github.com/PySlurm/pyslurm
16
16
%global pyslurm_source_dir %{name }-%{version }-%{rel }
17
17
%endif
18
18
19
- # %define _build_id_links none
20
-
21
19
22
20
Source: %{pyslurm_source_dir }.tar.gz
23
21
#Source0: https://github.com/PySlurm/pyslurm/archive/%{pyslcommit}/archive/%{pkgname}.tar.gz#/%{pkgname}-%{pyslcommit}.tar.gz
24
22
25
23
%if %{?rhel } == 8
26
- BuildRequires: python3-Cython, python36-devel
27
- %global usepython python3
28
- %global usepython_sitearch %{python3_sitearch }
24
+ BuildRequires: python3-Cython, python36-devel
25
+ %global usepython python3
26
+ %global usepython_sitearch %{python3_sitearch }
29
27
%elif %{?rhel } == 9
30
- BuildRequires: python3-Cython, python3-devel
31
- %global usepython python3
32
- %global usepython_sitearch %{python3_sitearch }
28
+ BuildRequires: python3-Cython, python3-devel
29
+ %global usepython python3
30
+ %global usepython_sitearch %{python3_sitearch }
33
31
%else
34
- BuildRequires: Cython, python-devel
35
- %global usepython python
36
- %global usepython_sitearch %{python_sitearch }
32
+ BuildRequires: Cython, python-devel
33
+ %global usepython python
34
+ %global usepython_sitearch %{python_sitearch }
37
35
%endif
38
36
39
37
BuildRequires: slurm-devel >= %{version }
0 commit comments