From 31d54da198abeff799f7ee71e9442c044fe1b542 Mon Sep 17 00:00:00 2001 From: Paul Kuberry Date: Wed, 28 Sep 2022 23:30:07 -0600 Subject: [PATCH] trilinos: update url (#32887) --- var/spack/repos/builtin/packages/trilinos/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 408a3717ca..eeed075b64 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -30,7 +30,7 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage): """ homepage = "https://trilinos.org/" - url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-12-12-1.tar.gz" + url = "https://github.com/trilinos/Trilinos/archive/refs/tags/trilinos-release-12-12-1.tar.gz" git = "https://github.com/trilinos/Trilinos.git" maintainers = ["keitat", "sethrj", "kuberry"] @@ -481,7 +481,7 @@ def flag_handler(self, name, flags): return (flags, None, None) def url_for_version(self, version): - url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-{0}.tar.gz" + url = "https://github.com/trilinos/Trilinos/archive/refs/tags/trilinos-release-{0}.tar.gz" return url.format(version.dashed) def setup_dependent_run_environment(self, env, dependent_spec):