From f289540516d030282632af2751feb7ef5d1403f3 Mon Sep 17 00:00:00 2001 From: zengchuang Date: Fri, 31 Oct 2025 10:31:58 +0800 Subject: [PATCH] fix rpmbuild err --- vllm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vllm.spec b/vllm.spec index be80680..c153957 100644 --- a/vllm.spec +++ b/vllm.spec @@ -3,7 +3,7 @@ Name: vllm Version: 0.6.6.post1 -Release: 1 +Release: 2 Summary: Powerful engine for LLMs License: (Apache-2.0 AND BSD-3-Clause) OR BSD-3-CLause URL: https://github.com/vllm-project/vllm @@ -30,10 +30,12 @@ Buildrequires: python3-pytorch %autosetup -n %{name}-%{version} -N %build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} export VLLM_TARGET_DEVICE=empty %py3_build %install +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} export VLLM_TARGET_DEVICE=empty %py3_install pushd %{buildroot} @@ -60,5 +62,8 @@ mv %{buildroot}/filelist.lst . %files -n python3-%{_name} -f filelist.lst %changelog +* Fri Oct 31 2025 zengchuang - 0.6.6.post1-2 +- fix rpmbuild err + * Fri Feb 28 2025 renwenjie - 0.6.6.post1-1 - Package init -- Gitee