From 3ddf23af53f2f8f89d2c90ab178e69b802398756 Mon Sep 17 00:00:00 2001 From: Jos de Kloe Date: Jun 15 2022 18:59:18 +0000 Subject: Adjust py_build_libdir to let sphinx build the documentation with the latest setuptools version (62.4.0) --- diff --git a/pyproj.spec b/pyproj.spec index 3c6431d..0be22ca 100644 --- a/pyproj.spec +++ b/pyproj.spec @@ -4,7 +4,7 @@ Name: pyproj Version: 3.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cython wrapper to provide python interfaces to Proj License: MIT URL: https://github.com/jswhit/%{name} @@ -87,17 +87,17 @@ cd docs # so some if/then's are needed here, since I could not find any # standard macro that solves this. %ifarch x86_64 aarch64 ppc64le s390x - %global py_build_libdir lib.linux-%{_arch}-%{python3_version} + %global py_build_libdir lib.linux-%{_arch}-cpython-%{python3_version_nodots} %endif %ifarch i686 # %%{_arch} seems to expand to i386 here which does not work # so make explicit what we need - %global py_build_libdir lib.linux-i686-%{python3_version} + %global py_build_libdir lib.linux-i686-cpython-%{python3_version_nodots} %endif %ifarch armv7hl # %%{_arch} seems to expand to arm here which does not work # so make explicit what we need - %global py_build_libdir lib.linux-armv7l-%{python3_version} + %global py_build_libdir lib.linux-armv7l-cpython-%{python3_version_nodots} %endif PYTHONPATH=%{_builddir}/%{name}-%{version}/build/%{py_build_libdir}/ make html @@ -173,6 +173,10 @@ py.test-3 -m "not network" %changelog +* Wed Jun 25 2022 Jos de Kloe 3.3.1-2 +- Adjust py_build_libdir to let sphinx build the documentation + with the latest setuptools version (62.4.0) + * Sun Apr 24 2022 Jos de Kloe 3.3.1-1 - Update to 3.3.1