From 322fa6f351c72c42cb960783393b8a983a7def5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:54:47 +0200 Subject: [PATCH 1/7] Rebuilt for Python 3.9 --- vtk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vtk.spec b/vtk.spec index 9fbd506..7f2bd7b 100644 --- a/vtk.spec +++ b/vtk.spec @@ -17,7 +17,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 8.2.0 -Release: 13%{?dist} +Release: 14%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -987,6 +987,9 @@ cat xorg.log %changelog +* Tue May 26 2020 Miro Hrončok - 8.2.0-14 +- Rebuilt for Python 3.9 + * Fri Jan 31 2020 Fedora Release Engineering - 8.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8877cff15380b31860a1e7fd8c84f7229c585a6a Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 26 May 2020 20:51:43 -0600 Subject: [PATCH 2/7] Add patch to fix building with GCC 10 (bz#1800240) --- vtk-gcc10.patch | 32 ++++++++++++++++++++++++++++++++ vtk.spec | 7 +++++++ 2 files changed, 39 insertions(+) create mode 100644 vtk-gcc10.patch diff --git a/vtk-gcc10.patch b/vtk-gcc10.patch new file mode 100644 index 0000000..27b15cd --- /dev/null +++ b/vtk-gcc10.patch @@ -0,0 +1,32 @@ +diff -up VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c.gcc10 VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c +--- VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c.gcc10 2019-01-30 10:15:13.000000000 -0700 ++++ VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c 2020-05-08 21:38:46.401363001 -0600 +@@ -614,5 +614,5 @@ int ex_create_par_int(const char *path, + * Prevent warning in some versions of ranlib(1) because the object + * file has no symbols. + */ +-const char exodus_unused_symbol_dummy_1; ++const char exodus_unused_symbol_dummy_ex_create_par; + #endif +diff -up VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c.gcc10 VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c +--- VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c.gcc10 2019-01-30 10:15:13.000000000 -0700 ++++ VTK-8.2.0/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c 2020-05-08 21:38:46.402363007 -0600 +@@ -474,5 +474,5 @@ int ex_open_par_int(const char *path, in + * Prevent warning in some versions of ranlib(1) because the object + * file has no symbols. + */ +-const char exodus_unused_symbol_dummy_1; ++const char exodus_unused_symbol_dummy_ex_open_par; + #endif +diff -up VTK-8.2.0/CMake/VTKGenerateExportHeader.cmake.gcc10 VTK-8.2.0/CMake/VTKGenerateExportHeader.cmake +--- VTK-8.2.0/CMake/VTKGenerateExportHeader.cmake.gcc10 2019-01-30 10:15:13.000000000 -0700 ++++ VTK-8.2.0/CMake/VTKGenerateExportHeader.cmake 2020-05-26 21:07:24.625840251 -0600 +@@ -174,7 +174,7 @@ macro(_vtk_test_compiler_hidden_visibili + execute_process(COMMAND ${CMAKE_C_COMPILER} --version + OUTPUT_VARIABLE _gcc_version_info + ERROR_VARIABLE _gcc_version_info) +- string(REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]*" ++ string(REGEX MATCH "[1-9][0-9]*\\.[0-9]+\\.[0-9]+" + _gcc_version "${_gcc_version_info}") + # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the + # patch level, handle this here: diff --git a/vtk.spec b/vtk.spec index 7f2bd7b..3e50123 100644 --- a/vtk.spec +++ b/vtk.spec @@ -30,6 +30,9 @@ Source3: FindPEGTL.cmake Patch0: https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch # Proj 6 support Patch1: vtk-proj6_compat.patch +# GCC 10 support based on: +# https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6420 +Patch2: vtk-gcc10.patch URL: http://vtk.org/ @@ -541,6 +544,7 @@ programming languages. %setup -q -b 1 -n VTK-%{version} %patch0 -p1 -b .py38 %patch1 -p1 -b .proj6 +%patch2 -p1 -b .gcc10 # Remove included thirdparty sources just to be sure # TODO - diy2 - not yet packaged # TODO - exodusII - not yet packaged @@ -987,6 +991,9 @@ cat xorg.log %changelog +* Wed May 27 2020 Orion Poplawski - 8.2.0-14 +- Add patch to fix building with GCC 10 (bz#1800240) + * Tue May 26 2020 Miro Hrončok - 8.2.0-14 - Rebuilt for Python 3.9 From cb07a45afbcefa86eab1b8241ffb5ab0484dd972 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 27 May 2020 07:45:37 -0600 Subject: [PATCH 3/7] Add missing -devel requires on libXext/X11 --- vtk.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vtk.spec b/vtk.spec index 3e50123..27fd3b6 100644 --- a/vtk.spec +++ b/vtk.spec @@ -209,6 +209,8 @@ Requires: PEGTL-devel%{?_isa} Requires: proj-devel%{?_isa} Requires: pugixml-devel%{?_isa} Requires: sqlite-devel%{?_isa} +Requires: libX11-devel%{?_isa} +Requires: libXext-devel%{?_isa} Requires: libXt-devel%{?_isa} Requires: mysql-devel%{?_isa} Requires: netcdf-cxx-devel%{?_isa} From f4b5ee3a0937e80cb800ca6b36c098b043bb1886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 30 May 2020 15:02:30 +0200 Subject: [PATCH 4/7] Rebuild (jsoncpp) --- vtk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vtk.spec b/vtk.spec index 27fd3b6..91860ec 100644 --- a/vtk.spec +++ b/vtk.spec @@ -17,7 +17,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 8.2.0 -Release: 14%{?dist} +Release: 15%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -993,6 +993,9 @@ cat xorg.log %changelog +* Sat May 30 2020 Björn Esser - 8.2.0-15 +- Rebuild (jsoncpp) + * Wed May 27 2020 Orion Poplawski - 8.2.0-14 - Add patch to fix building with GCC 10 (bz#1800240) From 7e7a9f7afefb827a5d583ad7eeaf8f729abc61ca Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 19 Jun 2020 20:39:30 -0600 Subject: [PATCH 5/7] Drop _python_bytecompile_extra, python2 conditionals --- vtk.spec | 149 ++----------------------------------------------------- 1 file changed, 5 insertions(+), 144 deletions(-) diff --git a/vtk.spec b/vtk.spec index 91860ec..633c57d 100644 --- a/vtk.spec +++ b/vtk.spec @@ -1,7 +1,3 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - # Disable OSMesa builds for now - see Bug 744434 %bcond_without OSMesa %bcond_without java @@ -17,7 +13,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 8.2.0 -Release: 15%{?dist} +Release: 16%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -43,11 +39,7 @@ BuildRequires: libX11-devel, libXt-devel, libXext-devel BuildRequires: libICE-devel, libGL-devel %{?with_OSMesa:BuildRequires: mesa-libOSMesa-devel} BuildRequires: tk-devel, tcl-devel -%if 0%{?fedora} >= 30 BuildRequires: python%{python3_pkgversion}-devel -%else -BuildRequires: python2-devel -%endif BuildRequires: expat-devel, freetype-devel, libjpeg-devel, libpng-devel %if 0%{with gl2ps} BuildRequires: gl2ps-devel @@ -59,12 +51,8 @@ BuildRequires: cmake(Qt5) BuildRequires: cmake(Qt5UiPlugin) BuildRequires: cmake(Qt5X11Extras) BuildRequires: qt5-qtwebkit-devel -%if 0%{?fedora} >= 30 BuildRequires: python%{python3_pkgversion}-qt5 %else -BuildRequires: python-qt5 -%endif -%else BuildRequires: PyQt4-devel BuildRequires: qt4-devel BuildRequires: qtwebkit-devel @@ -79,11 +67,7 @@ BuildRequires: glew-devel BuildRequires: hdf5-devel BuildRequires: jsoncpp-devel BuildRequires: libtheora-devel -%if 0%{?fedora} >= 28 -BuildRequires: mariadb-connector-c-devel -%else -BuildRequires: mysql-devel -%endif +BuildRequires: mariadb-connector-c-devel BuildRequires: netcdf-cxx-devel BuildRequires: libpq-devel BuildRequires: PEGTL-devel @@ -100,20 +84,12 @@ BuildRequires: lz4-devel BuildRequires: motif-devel %if %{with mpich} BuildRequires: mpich-devel -%if 0%{?fedora} >= 30 BuildRequires: python%{?python3_pkgversion}-mpi4py-mpich -%else -BuildRequires: python2-mpi4py-mpich -%endif BuildRequires: netcdf-mpich-devel %endif %if %{with openmpi} BuildRequires: openmpi-devel -%if 0%{?fedora} >= 30 BuildRequires: python%{?python3_pkgversion}-mpi4py-openmpi -%else -BuildRequires: python2-mpi4py-openmpi -%endif BuildRequires: netcdf-openmpi-devel %endif # For %check @@ -175,13 +151,8 @@ Install the %{name}-openmpi package to get a version compiled with openmpi. %package devel Summary: VTK header files for building C++ code Requires: vtk%{?_isa} = %{version}-%{release} -%if 0%{?fedora} >= 30 Requires: python%{python3_pkgversion}-vtk%{?_isa} = %{version}-%{release} Requires: python%{python3_pkgversion}-vtk-qt%{?_isa} = %{version}-%{release} -%else -Requires: python2-vtk%{?_isa} = %{version}-%{release} -Requires: python2-vtk-qt%{?_isa} = %{version}-%{release} -%endif %{?with_OSMesa:Requires: mesa-libOSMesa-devel%{?_isa}} Requires: cmake Requires: blas-devel%{?_isa} @@ -225,17 +196,12 @@ Requires: qtwebkit-devel%{?_isa} %endif Requires: jsoncpp-devel%{?_isa} # bz #1183210 + #1183530 -%if 0%{?fedora} >= 30 Requires: python%{python3_pkgversion}-devel -%else -Requires: python2-devel -%endif %description devel This provides the VTK header files required to compile C++ programs that use VTK to do 3D visualization. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk Summary: Python 3 bindings for VTK Requires: vtk%{?_isa} = %{version}-%{release} @@ -245,15 +211,6 @@ Provides: python%{python3_version}dist(vtk) = %{version} %description -n python%{python3_pkgversion}-vtk Python 3 bindings for VTK. -%else -%package -n python2-vtk -Summary: Python 2 bindings for VTK -Requires: vtk%{?_isa} = %{version}-%{release} -%{?python_provide:%python_provide python2-vtk} - -%description -n python2-vtk -Python 2 bindings for VTK. -%endif %if %{with java} %package java @@ -271,7 +228,6 @@ Requires: vtk%{?_isa} = %{version}-%{release} %description qt Qt bindings for VTK. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk-qt Summary: Qt Python 3 bindings for VTK Requires: vtk%{?_isa} = %{version}-%{release} @@ -279,15 +235,6 @@ Requires: vtk%{?_isa} = %{version}-%{release} %description -n python%{python3_pkgversion}-vtk-qt Qt Python 3 bindings for VTK. -%else -%package -n python2-vtk-qt -Summary: Qt Python 2 bindings for VTK -Requires: vtk%{?_isa} = %{version}-%{release} -%{?python_provide:%python_provide python2-vtk-qt} - -%description -n python2-vtk-qt -Qt Python 2 bindings for VTK. -%endif %if %{with mpich} %package mpich @@ -342,11 +289,7 @@ Requires: qtwebkit-devel%{?_isa} %endif Requires: jsoncpp-devel%{?_isa} # bz #1183210 + #1183530 -%if 0%{?fedora} >= 30 Requires: python%{python3_pkgversion}-devel -%else -Requires: python2-devel -%endif %description mpich-devel This provides the VTK header files required to compile C++ programs that @@ -354,21 +297,12 @@ use VTK to do 3D visualization. NOTE: The version in this package has been compiled with mpich support. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk-mpich Summary: Python 3 bindings for VTK with mpich Requires: vtk-mpich%{?_isa} = %{version}-%{release} %description -n python%{python3_pkgversion}-vtk-mpich python 3 bindings for VTK with mpich. -%else -%package -n python2-vtk-mpich -Summary: Python 2 bindings for VTK with mpich -Requires: vtk-mpich%{?_isa} = %{version}-%{release} - -%description -n python2-vtk-mpich -python 2 bindings for VTK with mpich. -%endif %if %{with java} %package mpich-java @@ -386,21 +320,12 @@ Requires: vtk-mpich%{?_isa} = %{version}-%{release} %description mpich-qt Qt bindings for VTK with mpich. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk-mpich-qt Summary: Qt Python 3 bindings for VTK with mpich Requires: vtk-mpich%{?_isa} = %{version}-%{release} %description -n python%{python3_pkgversion}-vtk-mpich-qt Qt Python 3 bindings for VTK with mpich. -%else -%package -n python2-vtk-mpich-qt -Summary: Qt Python 2 bindings for VTK with mpich -Requires: vtk-mpich%{?_isa} = %{version}-%{release} - -%description -n python2-vtk-mpich-qt -Qt Python 2 bindings for VTK with mpich. -%endif %endif %if %{with openmpi} @@ -456,11 +381,7 @@ Requires: qtwebkit-devel%{?_isa} %endif Requires: jsoncpp-devel%{?_isa} # bz #1183210 + #1183530 -%if 0%{?fedora} >= 30 Requires: python%{python3_pkgversion}-devel -%else -Requires: python2-devel -%endif %description openmpi-devel This provides the VTK header files required to compile C++ programs that @@ -468,21 +389,12 @@ use VTK to do 3D visualization. NOTE: The version in this package has been compiled with openmpi support. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk-openmpi Summary: Python 3 bindings for VTK with openmpi Requires: vtk-openmpi%{?_isa} = %{version}-%{release} %description -n python%{python3_pkgversion}-vtk-openmpi Python 3 bindings for VTK with openmpi. -%else -%package -n python2-vtk-openmpi -Summary: Python 2 bindings for VTK with openmpi -Requires: vtk-openmpi%{?_isa} = %{version}-%{release} - -%description -n python2-vtk-openmpi -Python 2 bindings for VTK with openmpi. -%endif %if %{with java} %package openmpi-java @@ -500,21 +412,12 @@ Requires: vtk-openmpi%{?_isa} = %{version}-%{release} %description openmpi-qt Qt bindings for VTK with openmpi. -%if 0%{?fedora} >= 30 %package -n python%{python3_pkgversion}-vtk-openmpi-qt Summary: Qt Python 3 bindings for VTK with openmpi Requires: vtk-openmpi%{?_isa} = %{version}-%{release} %description -n python%{python3_pkgversion}-vtk-openmpi-qt Qt Python 3 bindings for VTK with openmpi. -%else -%package -n python2-vtk-openmpi-qt -Summary: Qt Python 2 bindings for VTK with openmpi -Requires: vtk-openmpi%{?_isa} = %{version}-%{release} - -%description -n python2-vtk-openmpi-qt -Qt Python 2 bindings for VTK with openmpi. -%endif %endif %package data @@ -593,11 +496,7 @@ export JAVA_TOOL_OPTIONS=-Xmx2048m -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \\\ -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \\\ -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/vtk \\\ -%if 0%{?fedora} >= 30 \ -DVTK_PYTHON_VERSION=3 \\\ -%else \ - -DVTK_PYTHON_VERSION=2 \\\ -%endif \ %if %{with qt5} \ -DVTK_INSTALL_QT_DIR:PATH=%{_lib}/qt5/plugins/designer \\\ %else \ @@ -825,13 +724,6 @@ ctest %{_smp_mflags} -V || : kill %1 || : cat xorg.log -%if 0%{?fedora} < 28 -%ldconfig_scriptlets -%ldconfig_scriptlets java -%ldconfig_scriptlets python2-vtk -%ldconfig_scriptlets python2-vtk-qt -%ldconfig_scriptlets qt -%endif %files -f build/libs.list %license Copyright.txt @@ -846,17 +738,10 @@ cat xorg.log %{_libdir}/cmake/vtk/ %{_docdir}/vtk-8.2/ -%if 0%{?fedora} >= 30 %files -n python%{python3_pkgversion}-vtk %{python3_sitearch}/* %{_libdir}/*Python3?D.so.* %exclude %{_libdir}/*QtPython3?D.so.* -%else -%files -n python2-vtk -%{python2_sitearch}/* -%{_libdir}/*Python27D.so.* -%exclude %{_libdir}/*QtPython27D.so.* -%endif %{_bindir}/vtkpython %{_bindir}/vtkWrapPython %{_bindir}/vtkWrapPythonInit @@ -874,13 +759,8 @@ cat xorg.log %exclude %{_libdir}/*Python??D.so.* %{_libdir}/qt?/plugins/designer/libQVTKWidgetPlugin.so -%if 0%{?fedora} >= 30 %files -n python%{python3_pkgversion}-vtk-qt %{_libdir}/*QtPython3?D.so.* -%else -%files -n python2-vtk-qt -%{_libdir}/*QtPython27D.so.* -%endif %if %{with mpich} %files mpich -f build-mpich/libs.list @@ -895,15 +775,9 @@ cat xorg.log %{_libdir}/mpich/lib/cmake/ %{_libdir}/mpich/share/doc/vtk-8.2/ -%if 0%{?fedora} >= 30 %files -n python%{python3_pkgversion}-vtk-mpich %{_libdir}/mpich/lib/python%{python3_version}/ %{_libdir}/mpich/lib/*Python3?D.so.* -%else -%files -n python2-vtk-mpich -%{_libdir}/mpich/lib/python%{python2_version}/ -%{_libdir}/mpich/lib/*Python27D.so.* -%endif %exclude %{_libdir}/mpich/lib/*QtPython??D.so.* %{_libdir}/mpich/bin/pvtkpython %{_libdir}/mpich/bin/vtkpython @@ -923,13 +797,8 @@ cat xorg.log %exclude %{_libdir}/mpich/lib/*Python??D.so.* %{_libdir}/mpich/lib/qt?/ -%if 0%{fedora} >= 30 %files -n python%{python3_pkgversion}-vtk-mpich-qt %{_libdir}/mpich/lib/*QtPython3?D.so.* -%else -%files -n python2-vtk-mpich-qt -%{_libdir}/mpich/lib/*QtPython27D.so.* -%endif %endif %if %{with openmpi} @@ -946,15 +815,9 @@ cat xorg.log %{_libdir}/openmpi/share/doc/vtk-8.2/ -%if 0%{fedora} >= 30 %files -n python%{python3_pkgversion}-vtk-openmpi %{_libdir}/openmpi/lib/python%{python3_version}/ %{_libdir}/openmpi/lib/*Python3?D.so.* -%else -%files -n python2-vtk-openmpi -%{_libdir}/openmpi/lib/python%{python2_version}/ -%{_libdir}/openmpi/lib/*Python27D.so.* -%endif %exclude %{_libdir}/openmpi/lib/*QtPython??D.so.* %{_libdir}/openmpi/bin/pvtkpython %{_libdir}/openmpi/bin/vtkpython @@ -974,13 +837,8 @@ cat xorg.log %exclude %{_libdir}/openmpi/lib/*Python27D.so.* %{_libdir}/openmpi/lib/qt?/ -%if 0%{fedora} >= 30 %files -n python%{python3_pkgversion}-vtk-openmpi-qt %{_libdir}/openmpi/lib/*QtPython3?D.so.* -%else -%files -n python2-vtk-openmpi-qt -%{_libdir}/openmpi/lib/*QtPython27D.so.* -%endif %endif %files data @@ -993,6 +851,9 @@ cat xorg.log %changelog +* Sat Jun 20 2020 Orion Poplawski - 8.2.0-16 +- Drop _python_bytecompile_extra, python2 conditionals + * Sat May 30 2020 Björn Esser - 8.2.0-15 - Rebuild (jsoncpp) From 699b032dab9b8f58d77b12c714c8bd725ba124bd Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 19 Jun 2020 21:18:17 -0600 Subject: [PATCH 6/7] No xorg-x11-drv-dummy on EL8 s390x --- vtk.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/vtk.spec b/vtk.spec index 633c57d..57ef7a3 100644 --- a/vtk.spec +++ b/vtk.spec @@ -4,6 +4,17 @@ %bcond_without mpich %bcond_without qt5 %bcond_without openmpi +# s390x on EL8 does not have xorg-x11-drv-dummy +%if 0%{?rhel} +%ifarch s390x +%bcond_with xdummy +%else +%bcond_without xdummy +%endif +%else +%bcond_without xdummy +%endif + # VTK currently is carrying local modifications to gl2ps %bcond_with gl2ps %if !%{with gl2ps} @@ -93,7 +104,9 @@ BuildRequires: python%{?python3_pkgversion}-mpi4py-openmpi BuildRequires: netcdf-openmpi-devel %endif # For %check +%if %{with xdummy} BuildRequires: xorg-x11-drv-dummy +%endif %{!?with_java:Conflicts: vtk-java} Requires: hdf5 = %{_hdf5_version} @@ -713,6 +726,7 @@ cp -al build/ExternalData/* %{buildroot}%{_datadir}/vtkdata/ %check cd build cp %SOURCE2 . +%if %{with xdummy} if [ -x /usr/libexec/Xorg ]; then Xorg=/usr/libexec/Xorg else @@ -720,9 +734,12 @@ else fi $Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config ./xorg.conf -configdir . :99 & export DISPLAY=:99 +%endif ctest %{_smp_mflags} -V || : +%if %{with xdummy} kill %1 || : cat xorg.log +%endif %files -f build/libs.list From f893d0e5ef1895e84cb36adb92cbfe962abba907 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 25 Jun 2020 14:31:23 -0600 Subject: [PATCH 7/7] Rebuild for hdf5 1.10.6 --- vtk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vtk.spec b/vtk.spec index 57ef7a3..602850d 100644 --- a/vtk.spec +++ b/vtk.spec @@ -24,7 +24,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 8.2.0 -Release: 16%{?dist} +Release: 17%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -868,6 +868,9 @@ cat xorg.log %changelog +* Thu Jun 25 2020 Orion Poplawski - 8.2.0-17 +- Rebuild for hdf5 1.10.6 + * Sat Jun 20 2020 Orion Poplawski - 8.2.0-16 - Drop _python_bytecompile_extra, python2 conditionals