def METHOD_NAME(self):
    """FairLogger gets its version number from git.
    But the tarball doesn't have that information, so
    we patch the spack version into CMakeLists.txt"""
    if not self.spec.satisfies("@develop"):
        filter_file(
            r"(get_git_version\(.*)\)",
            rf"\1 DEFAULT_VERSION {self.spec.version})",
            "CMakeLists.txt",
        )