mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
bodhi: don't hard code python versions
F36 is using python3.10, but f37 is using python3.11 so, just use a wildcard here. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -19,7 +19,7 @@ RUN dnf install -y bodhi-server-{{bodhi_version}} python3-pyramid_sawing python3
|
||||
{% endif %}
|
||||
|
||||
# HOTFIX for https://github.com/fedora-infra/bodhi/pull/4687
|
||||
RUN sed -i -e 's|verbose=False|verbose=True|' /usr/lib/python3.10/site-packages/bodhi/server/models.py
|
||||
RUN sed -i -e 's|verbose=False|verbose=True|' /usr/lib/python3*/site-packages/bodhi/server/models.py
|
||||
|
||||
# link the static files for a simpler httpd.conf
|
||||
RUN ln -s $(python3 -Ic "import sysconfig; print(sysconfig.get_path('purelib', 'rpm_prefix'))")/bodhi/server/static/ /srv/bodhi-static
|
||||
|
||||
Reference in New Issue
Block a user