diff --git a/graphviz-2.49.1-python3-3.7.10.patch b/graphviz-2.49.1-python3-3.7.10.patch new file mode 100644 index 0000000..b624fae --- /dev/null +++ b/graphviz-2.49.1-python3-3.7.10.patch @@ -0,0 +1,11 @@ +--- graphviz-2.49.1/configure.ac.orig 2021-10-04 10:51:16.579411906 +0200 ++++ graphviz-2.49.1/configure.ac 2021-10-04 10:51:26.473594056 +0200 +@@ -1185,7 +1185,7 @@ + use_python="No (python is too old)" + else + PYTHON_PREFIX=`$PYTHON -c "import sys; print(sys.prefix)"` +- PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION ++ PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python${PYTHON_VERSION}m + PYTHON_LIBS="-undefined dynamic_lookup" + PYTHON_INSTALL_DIR="`$PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(1,0))'`" + save_CPPFLAGS=$CPPFLAGS diff --git a/graphviz.spec b/graphviz.spec index 76517d8..aee4cbb 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,7 +1,7 @@ %define libname lib%{name} Name: graphviz -Version: 2.49.0 +Version: 2.49.1 Release: 1mamba Summary: Graph Visualization Tools Group: Applications/Graphics @@ -18,10 +18,9 @@ Patch3: graphviz-2.30.1-guile-2.patch Patch4: graphviz-2.30.1-ruby-2.patch Patch5: graphviz-2.38.0-ghostscript-9.19.patch Patch6: graphviz-2.38.0-lua-5.3.patch +Patch7: graphviz-2.49.1-python3-3.7.10.patch License: Common Public Attribution License 1.0 ## AUTOBUILDREQ-BEGIN -#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package -#librt.so.1()(64bit): /usr/lib64/librt.so: file not owned by any package BuildRequires: glibc-devel BuildRequires: libGLU-devel BuildRequires: libICE-devel @@ -91,7 +90,7 @@ BuildRequires: libxcb-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: libzstd-devel -BuildRequires: ocaml-runtime +BuildRequires: ocaml BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: ocaml-runtime >= 4.11.1 @@ -250,6 +249,7 @@ This package contains the documentation of %{name} in HTML and pdf formats. #%patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 ./autogen.sh @@ -261,7 +261,7 @@ This package contains the documentation of %{name} in HTML and pdf formats. --enable-ruby \ --disable-php \ LDFLAGS="-ltermcap" \ - PYTHON=%{__python} + PYTHON=%{__python3} %make @@ -329,15 +329,11 @@ exit 0 %{_libdir}/graphviz/python/gv.py %{_libdir}/graphviz/python/libgv_python.la %{_libdir}/graphviz/python/libgv_python.so -#%{_libdir}/graphviz/python2/_gv.so -#%{_libdir}/graphviz/python2/gv.py -#%{_libdir}/graphviz/python2/libgv_python2.la -#%{_libdir}/graphviz/python2/libgv_python2.so %{_libdir}/graphviz/python3/_gv.so %{_libdir}/graphviz/python3/gv.py %{_libdir}/graphviz/python3/libgv_python3.la %{_libdir}/graphviz/python3/libgv_python3.so -%{python_sitearch}/* +#%{python_sitearch}/* %{python3_sitearch}/* %ifnarch arm @@ -468,6 +464,9 @@ exit 0 %{_datadir}/%{name}/doc/pdf/* %changelog +* Tue Oct 05 2021 Automatic Build System 2.49.1-1mamba +- automatic version update by autodist + * Sun Aug 29 2021 Automatic Build System 2.49.0-1mamba - automatic version update by autodist