mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
Fix debian package builds. (#10931)
This was due to dh-virtualenv builds being broken due to Shpinx removing deprecated APIs.
This commit is contained in:
parent
707d5e4e48
commit
a8bbf08576
2 changed files with 4 additions and 2 deletions
1
changelog.d/10931.bugfix
Normal file
1
changelog.d/10931.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix debian builds due to dh-virtualenv no longer being able to build their docs.
|
|
@ -47,8 +47,9 @@ RUN apt-get update -qq -o Acquire::Languages=none \
|
|||
&& cd /dh-virtualenv \
|
||||
&& env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -y --no-install-recommends"
|
||||
|
||||
# build it
|
||||
RUN cd /dh-virtualenv && dpkg-buildpackage -us -uc -b
|
||||
# Build it. Note that building the docs doesn't work due to differences in
|
||||
# Sphinx APIs across versions/distros.
|
||||
RUN cd /dh-virtualenv && DEB_BUILD_OPTIONS=nodoc dpkg-buildpackage -us -uc -b
|
||||
|
||||
###
|
||||
### Stage 1
|
||||
|
|
Loading…
Reference in a new issue