@@ -80,12 +80,12 @@ def build_rpm_with_docker():
8080 "-c" ,
8181 f"""set -ex
8282# Install build dependencies
83- dnf install -y rpm-build python3-devel python3-setuptools python3-wheel \\
84- python3-build python3-pip python3-virtualenv curl gcc openldap-devel git
83+ dnf install -y rpm-build python3.13 -devel python3.13 -setuptools python3.13 -wheel \\
84+ python3.13 -build python3.13 -pip python3.13 -virtualenv curl gcc openldap-devel git
8585
8686# Clean up and build wheel
8787rm -rf build dist
88- python3 -m build --wheel
88+ python3.13 -m build --wheel
8989
9090# Get the wheel file name
9191WHEEL_FILE=$(ls dist/*.whl)
@@ -134,11 +134,11 @@ def build_rpm_with_docker():
134134Source2: $WHEEL_FILENAME
135135
136136BuildArch: x86_64
137- BuildRequires: python3-devel python3-virtualenv gcc openldap-devel git
137+ BuildRequires: python3.13 -devel python3.13 -virtualenv gcc openldap-devel git
138138
139139# Runtime dependencies
140140Requires: git
141- Requires: python3
141+ Requires: python3.13
142142Requires: postgresql
143143Requires: postgresql-devel
144144Requires: openldap
@@ -162,7 +162,7 @@ def build_rpm_with_docker():
162162{
163163 project .get (
164164 "description" ,
165- "Automate open source license complianceand ensure supply chain integrity" ,
165+ "Automate open source license compliance and ensure supply chain integrity" ,
166166 )
167167 }
168168
@@ -180,7 +180,7 @@ def build_rpm_with_docker():
180180
181181# Create virtual environment in a temporary location first
182182mkdir -p /tmp/venv_build
183- python3 -m venv /tmp/venv_build --copies
183+ python3.13 -m venv /tmp/venv_build --copies
184184
185185cd %{{_sourcedir}}
186186/tmp/venv_build/bin/python -m pip install --upgrade pip
0 commit comments