diff --git a/var/spack/repos/builtin/packages/casper/package.py b/var/spack/repos/builtin/packages/casper/package.py index ec7f3889d7..1eb1b7f9e4 100644 --- a/var/spack/repos/builtin/packages/casper/package.py +++ b/var/spack/repos/builtin/packages/casper/package.py @@ -14,8 +14,14 @@ class Casper(MakefilePackage): homepage = "http://best.snu.ac.kr/casper/index.php?name=main" url = "http://best.snu.ac.kr/casper/program/casper_v0.8.2.tar.gz" + git = "https://github.com/skwonPNU/casper.git" - version("0.8.2", sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914") + version("20220916", commit="08655cad5af7e801f05fdb9e643dcd859f823cba") + version( + "0.8.2", + sha256="3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914", + deprecated=True, + ) depends_on("jellyfish@2.2.3:") depends_on("boost+exception") @@ -23,7 +29,7 @@ class Casper(MakefilePackage): conflicts("%gcc@7.1.0") def flag_handler(self, name, flags): - if name.lower() == "cxxflags": + if self.spec.satisfies("@:0.8.2") and name.lower() == "cxxflags": flags.append(self.compiler.cxx98_flag) return (flags, None, None)