summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--botorch.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/botorch.spec b/botorch.spec
index e239313..bff7d29 100644
--- a/botorch.spec
+++ b/botorch.spec
@@ -36,6 +36,7 @@ BoTorch is a library for Bayesian Optimization built on PyTorch. It provides a m
%autosetup -p1 -n %{name}-%{version}
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_build
%install