mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Build Dangerzone RPM with PySide6 dependency
Update our RPM spec file to include PySide6 as a dependency, for Fedora 39 onward.
This commit is contained in:
parent
d7ee162852
commit
3684b7ff61
1 changed files with 5 additions and 3 deletions
|
@ -222,11 +222,13 @@ convert the documents within a secure sandbox.
|
|||
%autosetup -p1 -n dangerzone-%{version}
|
||||
|
||||
# XXX: Replace the PySide6 dependency in the pyproject.toml file with PySide2,
|
||||
# since the former does not exist in Fedora. Once we can completely migrate to
|
||||
# Qt6, we should remove this. For more details, see:
|
||||
# since the former did not exist until Fedora 39, where we packaged PySide6 [1].
|
||||
# Once Fedora 38 is no longer supported, we should remove this.
|
||||
#
|
||||
# https://github.com/freedomofpress/dangerzone/issues/211
|
||||
# [1]: https://github.com/freedomofpress/dangerzone/issues/606
|
||||
%if 0%{?fedora} == 38
|
||||
sed -i 's/^PySide6.*$/PySide2 = "*"/' pyproject.toml
|
||||
%endif
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
|
|
Loading…
Reference in a new issue