From 0128ad60470dcc3c05d6c963a284d4c20f64369e9609996b2f3ab1af8a85bd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Apr 2025 12:14:04 +0000 Subject: [PATCH] Accepting request 1266087 from home:mcalabkova:branches:devel:languages:python - Fix packaging with new setuptools OBS-URL: https://build.opensuse.org/request/show/1266087 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=62 --- python-PyMuPDF.changes | 5 +++++ python-PyMuPDF.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-PyMuPDF.changes b/python-PyMuPDF.changes index dba295d..0e985d4 100644 --- a/python-PyMuPDF.changes +++ b/python-PyMuPDF.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 1 10:55:47 UTC 2025 - Markéta Machová + +- Fix packaging with new setuptools + ------------------------------------------------------------------- Mon Mar 17 09:06:01 UTC 2025 - Andreas Schwab diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec index 8f30f2b..de3cf4a 100644 --- a/python-PyMuPDF.spec +++ b/python-PyMuPDF.spec @@ -75,7 +75,11 @@ cd /tmp %files %{python_files} %license COPYING %doc README.md -%{python_sitearch}/PyMuPDF-%{version}*-info +%if %{suse_version} > 1600 +%{python_sitearch}/pymupdf-%{version}*info +%else +%{python_sitearch}/PyMuPDF-%{version}*info +%endif %{python_sitearch}/fitz/ %changelog