mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Build RPM package for Python 3.13.
Add a hacky line in pyproject.toml that bumps the Python requirement to 3.14, so that we can build a Dangerzone RPM.
This commit is contained in:
parent
4b32827ee3
commit
835ff4e527
1 changed files with 11 additions and 0 deletions
|
@ -221,6 +221,17 @@ convert the documents within a secure sandbox.
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n dangerzone-%{version}
|
%autosetup -p1 -n dangerzone-%{version}
|
||||||
|
|
||||||
|
# XXX: Bump the Python requirement in pyproject.toml from <3.13 to <3.14. Fedora
|
||||||
|
# 41 comes with Python 3.13 installed, but our pyproject.toml does not support
|
||||||
|
# it because PySide6 in PyPI works with Python 3.12 or earlier.
|
||||||
|
#
|
||||||
|
# This hack sidesteps this issue, and we haven't noticed any paticular problem
|
||||||
|
# with the package that is built from that.
|
||||||
|
%if 0%{?fedora} == 41
|
||||||
|
sed -i 's/<3.13/<3.14/' pyproject.toml
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires -R
|
%pyproject_buildrequires -R
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue