diff --git a/vllm.spec b/vllm.spec index be80680a04783e7c1750cda74f16a1e3ef528952..126db8d564757cf0215d7eef174a2256934677a1 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 +* Thu Mar 27 2025 renwenjie - 0.6.6.post1-2 +- solve 'no module named vllm._version' problem + * Fri Feb 28 2025 renwenjie - 0.6.6.post1-1 - Package init