diff --git a/p/pynacl/build_info.json b/p/pynacl/build_info.json index 8039174134..95fff7a5cf 100644 --- a/p/pynacl/build_info.json +++ b/p/pynacl/build_info.json @@ -2,7 +2,7 @@ "maintainer": "kiranNukal", "package_name": "pynacl", "github_url": "https://github.com/pyca/pynacl", - "version": "v1.3.1", + "version": "v0.3.0", "default_branch": "main", "build_script": "pynacl_ubi_9.6.sh", "package_dir": "p/pynacl", diff --git a/p/pynacl/pynacl_ubi_9.6.sh b/p/pynacl/pynacl_ubi_9.6.sh index 3432f35549..9ff673acb6 100644 --- a/p/pynacl/pynacl_ubi_9.6.sh +++ b/p/pynacl/pynacl_ubi_9.6.sh @@ -20,7 +20,7 @@ set -ex # Variables PACKAGE_NAME=pynacl -PACKAGE_VERSION=${1:-1.5.0} +PACKAGE_VERSION=${1:-0.3.0} PACKAGE_URL=https://github.com/pyca/pynacl PACKAGE_DIR=pynacl @@ -30,7 +30,8 @@ pip3 install pytest export PATH=$PATH:/usr/local/bin/ export PATH=/opt/rh/gcc-toolset-13/root/usr/bin:$PATH -export LD_LIBRARY_PATH=/opt/rh/gcc-toolset-13/root/usr/lib64:$LD_LIBRARY_PATH +export CFLAGS="-O2 -Wno-error=address-of-packed-member -Wno-error=array-bounds -fno-strict-aliasing -Wno-error=stringop-overflow -Wno-error=stringop-overread -fno-tree-slp-vectorize -Wno-error=aligned-new -Wno-error=all-static-in-load" +export LDFLAGS="-O2 -Wno-error=address-of-packed-member" curl https://sh.rustup.rs -sSf | sh -s -- -y source "$HOME/.cargo/env"