commit aea81db5e6b3bb49952f07fc87e22881371108ee
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Jul 8 17:36:43 2023 +0100
fix
ldoce5viewer.spec | 1 +
temporary_python312_fix.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
---
diff --git a/ldoce5viewer.spec b/ldoce5viewer.spec
index d1508cb..a6f2246 100644
--- a/ldoce5viewer.spec
+++ b/ldoce5viewer.spec
@@ -23,6 +23,7 @@ Patch3:
https://github.com/dwrobel/ldoce5viewer/commit/e17a19a86c5f7a02c
# Inkscape 1.0.2 changed argument from --export-file= to --export-filename=
# Not sent upstream as it's read-only now.
Patch4:
https://github.com/dwrobel/ldoce5viewer/commit/6bb1cc5a3df2f72b590e923034...
+Patch5: temporary_python312_fix.patch
BuildArch: noarch
diff --git a/temporary_python312_fix.patch b/temporary_python312_fix.patch
new file mode 100644
index 0000000..49dd272
--- /dev/null
+++ b/temporary_python312_fix.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+
+ import subprocess
+-from distutils.core import setup
++from setuptools import setup
+ from ldoce5viewer import __version__
+
+