diff --git a/vllm-0.6.6.post1.tar.gz b/vllm-0.7.3.tar.gz similarity index 38% rename from vllm-0.6.6.post1.tar.gz rename to vllm-0.7.3.tar.gz index f0884126b4a05cb81c1825f94ee1b1ef5c6834a9..d58972a9f9feba5a553789bb581fc98945998cc5 100644 Binary files a/vllm-0.6.6.post1.tar.gz and b/vllm-0.7.3.tar.gz differ diff --git a/vllm.spec b/vllm.spec index be80680a04783e7c1750cda74f16a1e3ef528952..7cfb628a9720e91abc588fe661099b6eed3c762f 100644 --- a/vllm.spec +++ b/vllm.spec @@ -2,7 +2,7 @@ %global _description A high-throughput and memory-efficient inference and serving engine for LLMs Name: vllm -Version: 0.6.6.post1 +Version: 0.7.3 Release: 1 Summary: Powerful engine for LLMs License: (Apache-2.0 AND BSD-3-Clause) OR BSD-3-CLause @@ -16,7 +16,7 @@ BuildArch: noarch %package -n python3-%{_name} Summary: %{summary} -Buildrequires: cmake >= 3.26 python3-pip python3-devel python3-setuptools python3-pytest +Buildrequires: cmake python3-pip python3-devel python3-setuptools python3-pytest Buildrequires: python3-setuptools_scm python3-wheel python3-pytest-asyncio python3-grpcio Buildrequires: python3-pytorch %{?python_provide:%python_provide python3-%{_name}} @@ -30,12 +30,21 @@ 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 + +VERSION_FILE=$(find %{buildroot} -name '_version.py') +if [ -f "$VERSION_FILE" ]; then + sed -i 's/^version = /__version__ = /g' "$VERSION_FILE" + sed -i 's/^version_tuple = /__version_tuple__ = /g' "$VERSION_FILE" +fi + pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -60,5 +69,8 @@ mv %{buildroot}/filelist.lst . %files -n python3-%{_name} -f filelist.lst %changelog +* Tue Apr 8 2025 renwenjie - 0.7.3-1 +- Change the baseline version to 0.7.3 + * Fri Feb 28 2025 renwenjie - 0.6.6.post1-1 - Package init