From 0bff282bc8c23f7344f09a77a20f1ae62d4de567 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Fri, 21 Oct 2022 12:42:48 -0600 Subject: [PATCH] Fix version metdata --- recipe/meta.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index c41a64b9..13ff2cf6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,5 @@ -{% set version = "4.9.1-rc1" %} +{% set tag_version = "4.9.1-rc1" %} +{% set version = tag_version | replace("-","") %} {% set build = 0 %} # recipe-lint fails if mpi is undefined @@ -13,7 +14,7 @@ package: version: {{ version }} source: - url: https://github.com/Unidata/netcdf-c/archive/v{{ version }}.tar.gz + url: https://github.com/Unidata/netcdf-c/archive/v{{ tag_version }}.tar.gz sha256: c4cee300f4ae274fd05030b653decdf3e626213df5153b70caf4b60899fe326e patches: - patches/0004-Prefer-getenv-TOPSRCDIR-over-STRINGIFY-TOPSRCDIR.patch @@ -51,7 +52,7 @@ build: run_exports: # https://abi-laboratory.pro/tracker/timeline/netcdf/ - - {{ pin_subpackage('libnetcdf', max_pin='x.x.x.x') }} {{ build_pin }} + - {{ pin_subpackage('libnetcdf', max_pin='x.x.x') }} {{ build_pin }} requirements: build: