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:
parent
55ead79f2a
commit
a1f8e69641
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue