Skip to content

Commit

Permalink
doh: EL8 needs the _older_ version
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 20, 2023
1 parent 0f5e8b4 commit f7b18df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packaging/rpm/python3-pycuda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%endif

Name: python3-pycuda
%if !0%{?el8}
%if 0%{?el8}
Version: 2022.2.2
%else
Version: 2023.1
Expand All @@ -26,7 +26,7 @@ URL: http://mathema.tician.de/software/pycuda
Summary: Python3 wrapper CUDA
License: MIT
Group: Development/Libraries/Python
%if !0%{?el8}
%if 0%{?el8}
Source0: https://files.pythonhosted.org/packages/78/09/9df5358ffb74d225243b56a65ffe196de481fcd8f731f55e41f2d5d36015/pycuda-%{version}.tar.gz
%else
Source0: https://files.pythonhosted.org/packages/dd/b2/e30282f3286ddad05ef44548fa5c306a179ed3baceefa699af078e49ce6e/pycuda-%{version}.tar.gz
Expand Down Expand Up @@ -55,7 +55,7 @@ Suggests: nvidia-driver-cuda-libs

%prep
sha256=`sha256sum %{SOURCE0} | awk '{print $1}'`
%if !0%{?el8}
%if 0%{?el8}
if [ "${sha256}" != "cd92e7246bb45ac3452955a110714112674cdf3b4a9e2f4ff25a4159c684e6bb" ]; then
%else
if [ "${sha256}" != "175ff675f0cf10e38e9adc03ed5df3ed8d8abf7da5134c8dccec752e8a0a3e91" ]; then
Expand Down

0 comments on commit f7b18df

Please sign in to comment.