The package rpms/python-ezdxf.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-ezdxf.git/commit/?id=4783dbce... https://src.fedoraproject.org/cgit/rpms/python-ezdxf.git/commit/?id=4c8dfa95....
Change: -%ifnarch s390x +%ifnarch s390x
Thanks.
Full change: ============
commit c425b47958dc2a7061e4c60025c8c9097000cae8 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Dec 17 11:33:35 2024 -0500
Update to 1.3.5 (close RHBZ#2332451)
diff --git a/.gitignore b/.gitignore index fee5d68..cf73de3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /ezdxf-1.3.2.tar.gz /ezdxf-1.3.3.tar.gz /ezdxf-1.3.4.tar.gz +/ezdxf-1.3.5.tar.gz diff --git a/python-ezdxf.spec b/python-ezdxf.spec index d12ede9..6064e85 100644 --- a/python-ezdxf.spec +++ b/python-ezdxf.spec @@ -1,7 +1,7 @@ %bcond pyside6 1
Name: python-ezdxf -Version: 1.3.4 +Version: 1.3.5 Release: %autorelease Summary: Python package to create/manipulate DXF drawings
diff --git a/sources b/sources index 9b32269..7a31adf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ezdxf-1.3.4.tar.gz) = 94f8d43691f4a4c0ecdc77e67f575bbb7da5b4f33244ee2a236059d8bdf3d38199199fe4e10023a61e561bbc4b5a05070271e4f287082ab77a03d11d40e4dd34 +SHA512 (ezdxf-1.3.5.tar.gz) = 6e5b1c81a0cf3a336cc1bc66804edc09844b442145d3ff54af54122e345f89cd6430f7152aa4038c98666a02991fc82421820d3584cde6bc4750809802c78ed8
commit 4783dbcec60f32551c68db79812b5fc5464bd0e3 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Dec 14 18:31:59 2024 -0500
F42+: Do not build a PDF copy of the Sphinx-generated manual
diff --git a/python-ezdxf.spec b/python-ezdxf.spec index 8267585..d12ede9 100644 --- a/python-ezdxf.spec +++ b/python-ezdxf.spec @@ -1,9 +1,4 @@ %bcond pyside6 1 -# Sphinx-generated HTML documentation is not suitable for packaging; see -# https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion. -# -# We can generate PDF documentation as a substitute. -%bcond doc_pdf 1
Name: python-ezdxf Version: 1.3.4 @@ -95,15 +90,6 @@ BuildRequires: font(liberationserif) # simply skipped if the font is not present.) BuildRequires: font(notosanssc)
-%if %{with doc_pdf} -BuildRequires: make -BuildRequires: python3-sphinx-latex -BuildRequires: latexmk -BuildRequires: /usr/bin/xindy -BuildRequires: tex-xetex-bin -BuildRequires: /usr/bin/rsvg-convert -%endif - %global common_description %{expand: This Python package is designed to facilitate the creation and manipulation of DXF documents, with compatibility across various DXF versions. It empowers @@ -151,9 +137,9 @@ Provides: bundled(python3dist(py3dbp))
%package doc -Summary: Documentation for ezdxf +Summary: Documentation and examples for ezdxf
-# This is now arched because we cannot build the PDF documentation on s390x +BuildArch: noarch
%description doc %{common_description}
@@ -163,10 +149,6 @@ Summary: Documentation for ezdxf # Note that C++ sources in the GitHub tarball are *not* Cython-generated, and # we must not remove them.
-# Since pdflatex cannot handle Unicode inputs in general: -echo "latex_engine = 'xelatex'" >> docs/source/conf.py -rm docs/graphics/dimtad-dimjust.pdf - # Fix a Python source file with CRLF newlines. Upstream doesn’t want to worry # about standardizing this. Don’t modify dxf files even though they are a # text-based file format; see the PR “Convert examples/copydxf.py from CRLF to @@ -201,27 +183,6 @@ find . -type f -name '.gitignore' -print -delete %build %pyproject_wheel
-%if %{with doc_pdf} -# Cannot use SVG images when building PDF documentation; convert to PDFs -find docs -type f -name '*.svg' | - while read -r fn - do - rsvg-convert --format=pdf "${fn}" \ - --output="$(dirname "${fn}")/$(basename "${fn}" .svg).pdf" - done -find docs/source -type f -exec \ - gawk '/.svg/ { print FILENAME; nextfile }' '{}' '+' | - xargs -r -t sed -r -i 's/.svg/.pdf/g' - -BLIB="${PWD}/build/lib.%{python3_platform}-cpython-%{python3_version_nodots}" -PYTHONPATH="${BLIB}" %make_build -C docs -f Makefile.linux latex \ - SPHINXOPTS='-j%{?_smp_build_ncpus}' -%ifnarch s390x -# This fails on s390x now, and it’s not easy to understand the root cause. -%make_build -C docs/build/latex LATEXMKOPTS='-quiet' -%endif -%endif -
%install %pyproject_install @@ -278,12 +239,6 @@ fi %doc examples_hpgl2/ %doc exploration/
-%if %{with doc_pdf} -%ifnarch s390x -%doc docs/build/latex/ezdxf.pdf -%endif -%endif -
%changelog %autochangelog
commit 4c8dfa95281673528cba27614ffb53b5a753be6a Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Dec 14 10:43:43 2024 -0500
Do not attempt to build the PDF manual on s390x
This is not great, because it means the manual disappears on that architecture only, and because it means the -doc subpackage is now arched, but it’s what we will need to do if we have to build an update for Fedora 41 since we can no longer build the PDF manual on s390x.
diff --git a/python-ezdxf.spec b/python-ezdxf.spec index 78ff2cb..8267585 100644 --- a/python-ezdxf.spec +++ b/python-ezdxf.spec @@ -153,7 +153,7 @@ Provides: bundled(python3dist(py3dbp)) %package doc Summary: Documentation for ezdxf
-BuildArch: noarch +# This is now arched because we cannot build the PDF documentation on s390x
%description doc %{common_description}
@@ -216,8 +216,11 @@ find docs/source -type f -exec \ BLIB="${PWD}/build/lib.%{python3_platform}-cpython-%{python3_version_nodots}" PYTHONPATH="${BLIB}" %make_build -C docs -f Makefile.linux latex \ SPHINXOPTS='-j%{?_smp_build_ncpus}' +%ifnarch s390x +# This fails on s390x now, and it’s not easy to understand the root cause. %make_build -C docs/build/latex LATEXMKOPTS='-quiet' %endif +%endif
%install @@ -276,8 +279,10 @@ fi %doc exploration/
%if %{with doc_pdf} +%ifnarch s390x %doc docs/build/latex/ezdxf.pdf %endif +%endif
%changelog
commit 9d295d8ba53caf7a8a7c78949e34f2a3ac744684 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Dec 14 18:36:39 2024 -0500
Fix a typo in the SourceLicense SPDX expression
diff --git a/python-ezdxf.spec b/python-ezdxf.spec index 3088ae2..78ff2cb 100644 --- a/python-ezdxf.spec +++ b/python-ezdxf.spec @@ -34,7 +34,7 @@ License: MIT AND ISC AND AGPL-3.0-only # Various fonts directly in the fonts/ directory are each under one of: # - Apache-2.0 # - Bitstream-Vera AND LicenseRef-Fedora-Public-Domain -# - OFL-1.0 +# - OFL-1.1 # - LicenseRef-Liberation # - LicenseRef-Fedora-UltraPermissive # @@ -57,7 +57,7 @@ SourceLicense: %{shrink: LicenseRef-Fedora-Public-Domain AND LicenseRef-Liberation AND LicenseRef-Fedora-UltraPermissive AND - OFL-1.0 + OFL-1.1 } URL: https://ezdxf.mozman.at/ %global forgeurl https://github.com/mozman/ezdxf
arch-excludes@lists.fedoraproject.org