Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package occt for openSUSE:Factory checked in at 2024-01-08 23:46:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/occt (Old) and /work/SRC/openSUSE:Factory/.occt.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "occt" Mon Jan 8 23:46:10 2024 rev:13 rq:1137527 version:7.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/occt/occt.changes 2024-01-06 18:32:57.083505249 +0100 +++ /work/SRC/openSUSE:Factory/.occt.new.21961/occt.changes 2024-01-08 23:46:13.732420570 +0100 @@ -1,0 +2,6 @@ +Sun Jan 7 16:30:06 UTC 2024 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Use 3-digit soversion to fix BIC change between 7.7.0 and 7.7.1. +- Disable documentation build on Leap 15.x, build fails otherwise. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ occt.spec ++++++ --- /var/tmp/diff_new_pack.QtTRdI/_old 2024-01-08 23:46:14.532449658 +0100 +++ /var/tmp/diff_new_pack.QtTRdI/_new 2024-01-08 23:46:14.532449658 +0100 @@ -16,13 +16,20 @@ # +%if 0%{?suse_version} >= 1600 +%bcond_without docs +%else +%bcond_with docs +%endif + %define OCCT_TAG V7_7_2 Name: occt Version: 7.7.2 Release: 0 -%define soname 7_7 -%define sover 7.7 +%define soname 7_7_2 +%define sover 7.7.2 +%define sover_len 3 Summary: OpenCASCADE Official Edition License: LGPL-2.1-only WITH OCCT-exception-1.0 Group: Productivity/Graphics/CAD @@ -34,11 +41,9 @@ Source0: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/%{OCCT_TAG};sf=tgz#/occt-%{version}.tar.gz BuildRequires: bison BuildRequires: cmake -BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: mathjax BuildRequires: tcl-devel BuildRequires: tk-devel BuildRequires: pkgconfig(RapidJSON) @@ -48,6 +53,10 @@ BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xmu) +%if %{with docs} +BuildRequires: doxygen +BuildRequires: mathjax +%endif %description OpenCASCADE is a suite for 3D surface and solid modeling, visualization, data @@ -96,6 +105,7 @@ %package -n libopencascade-applicationframework%{soname} Summary: OpenCASCADE application framework libraries Group: System/Libraries +Conflicts: libopencascade-applicationframework7_7 = %{version} %description -n libopencascade-applicationframework%{soname} This package contains the OpenCASCADE libraries from the @@ -106,6 +116,7 @@ %package -n libopencascade-dataexchange%{soname} Summary: OpenCASCADE data exchange libraries Group: System/Libraries +Conflicts: libopencascade-dataexchange7_7 = %{version} %description -n libopencascade-dataexchange%{soname} This package contains the OpenCASCADE libraries from the @@ -118,6 +129,7 @@ Summary: OpenCASCADE Draw support libraries Group: System/Libraries Requires: %{name}-resources +Conflicts: libopencascade-draw7_7 = %{version} %description -n libopencascade-draw%{soname} This package contains support libraries for the @@ -126,6 +138,7 @@ %package -n libopencascade-foundationclasses%{soname} Summary: OpenCASCADE foundation classes libraries Group: System/Libraries +Conflicts: libopencascade-foundationclasses7_7 = %{version} %description -n libopencascade-foundationclasses%{soname} This package contains the OpenCASCADE libraries from the @@ -135,6 +148,7 @@ %package -n libopencascade-modelingalgorithms%{soname} Summary: OpenCASCADE modeling algorithms libraries Group: System/Libraries +Conflicts: libopencascade-modelingalgorithms7_7 = %{version} %description -n libopencascade-modelingalgorithms%{soname} This package contains the OpenCASCADE libraries from the @@ -145,6 +159,7 @@ %package -n libopencascade-modelingdata%{soname} Summary: OpenCASCADE modeling data libraries Group: System/Libraries +Conflicts: libopencascade-modelingdata7_7 = %{version} %description -n libopencascade-modelingdata%{soname} This package contains the OpenCASCADE libraries from the @@ -154,6 +169,7 @@ %package -n libopencascade-visualization%{soname} Summary: OpenCASCADE visualization libraries Group: System/Libraries +Conflicts: libopencascade-visualization7_7 = %{version} %description -n libopencascade-visualization%{soname} This package contains the OpenCASCADE libraries from the @@ -179,11 +195,14 @@ -DUSE_RAPIDJSON:BOOL=true \ -DINSTALL_DIR_LIB=%{_lib} \ -DINSTALL_DIR_CMAKE=%{_lib}/cmake/opencascade \ + -DBUILD_SOVERSION_NUMBERS=%{sover_len} \ .. %cmake_build +%if %{with docs} cd .. ./gendoc -refman -html -mathjax="%{_datadir}/javascript/mathjax" +%endif %install %cmake_install @@ -309,6 +328,8 @@ %{_libdir}/lib*.so %{_bindir}/ExpToCasExe* +%if %{with docs} %files devel-doc %doc doc/refman/html +%endif