diff --git a/packaging/rpm/python3-pycuda.spec b/packaging/rpm/python3-pycuda.spec index ed37eed0ad..930964a471 100644 --- a/packaging/rpm/python3-pycuda.spec +++ b/packaging/rpm/python3-pycuda.spec @@ -16,7 +16,7 @@ %endif Name: python3-pycuda -%if !0%{?el8} +%if 0%{?el8} Version: 2022.2.2 %else Version: 2023.1 @@ -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 @@ -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