Skip to content

Commit

Permalink
Added qualifier on the python patch according to the bufr version bei…
Browse files Browse the repository at this point in the history
…ng built.

The python patch is required up through bufr@12.0.0, but not longer needed for bufr@12.0.1.
  • Loading branch information
srherbener authored and climbfuji committed Oct 2, 2023
1 parent 4a41765 commit 4e24028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/bufr/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def url_for_version(self, version):
# C test does not explicity link to -lm causing DSO error when building shared libs
patch("c-tests-libm.patch", when="@11.5.0:11.7.0")
# Patch to identify Python version correctly
patch("python-version.patch", when="+python")
patch("python-version.patch", when="+python @:12.0.0")

variant("python", default=False, description="Enable Python interface?")
variant("shared", default=True, description="Build shared libraries", when="@11.5:")
Expand Down

0 comments on commit 4e24028

Please sign in to comment.