Hello community, here is the log from the commit of package occt for openSUSE:Factory checked in at 2018-07-09 13:28:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/occt (Old) and /work/SRC/openSUSE:Factory/.occt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "occt" Mon Jul 9 13:28:48 2018 rev:2 rq:621213 version:7.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/occt/occt.changes 2017-09-11 16:17:41.443678079 +0200 +++ /work/SRC/openSUSE:Factory/.occt.new/occt.changes 2018-07-09 13:29:30.254713185 +0200 @@ -1,0 +2,12 @@ +Wed Jul 4 06:48:45 UTC 2018 - [email protected] + +- update to version 7.3.0 + https://www.opencascade.com/sites/default/files/documents/release_notes_7.3.0.pdf +- split out documentation as noarch package + +------------------------------------------------------------------- +Wed Jul 4 06:35:14 UTC 2018 - [email protected] + +- fix cmake rules, OCCT_INSTALL_BIN_LETTER was not set + +------------------------------------------------------------------- Old: ---- opencascade-7.2.0.tgz New: ---- opencascade-7.3.0.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ occt.spec ++++++ --- /var/tmp/diff_new_pack.bpv4m0/_old 2018-07-09 13:29:47.198678878 +0200 +++ /var/tmp/diff_new_pack.bpv4m0/_new 2018-07-09 13:29:47.202678870 +0200 @@ -1,7 +1,7 @@ # # spec file for package occt # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ Name: occt -Version: 7.2.0 -%define soname 7 +Version: 7.3.0 Release: 0 +%define soname 7 Summary: OpenCASCADE Official Edition License: LGPL-2.1 WITH OCCT-exception-1.0 Group: Productivity/Graphics/CAD @@ -59,8 +59,8 @@ Provides: OpenCASCADE-devel = %{version} Requires: %{name} = %{version} Requires: %{name}-DRAWEXE = %{version} -Requires: libopencascade%{soname} = %{version} Requires: freetype2-devel +Requires: libopencascade%{soname} = %{version} Requires: tcl-devel Requires: tk-devel Requires: pkgconfig(gl) @@ -74,6 +74,14 @@ %description devel This package contains the files needed for development with OpenCASCADE. +%package devel-doc +BuildArch: noarch +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ + +%description devel-doc +Developer documentation for OpenCASCADE + %package -n libopencascade%{soname} Summary: OpenCASCADE libraries Group: Development/Libraries/C and C++ @@ -116,9 +124,16 @@ chmod 0755 %buildroot/usr/bin/* +# fixing up broken files +mv %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake w +rmdir %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake +mv -v w %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake if [ "%_libdir" == "/usr/lib64" ] ;then mkdir -p %buildroot/usr/lib64 mv %buildroot/usr/lib/lib* %buildroot/usr/lib64/ + sed -i -e 's,lib\\${OCCT_INSTALL_BIN_LETTER}/,lib64/,' %buildroot%{_prefix}/lib/cmake/*/* +else + sed -i -e 's,lib\\${OCCT_INSTALL_BIN_LETTER}/,lib/,' %buildroot%{_prefix}/lib/cmake/*/* fi rm -rf %buildroot/usr/share/doc @@ -130,20 +145,16 @@ %postun -n libopencascade%{soname} -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc LICENSE_LGPL_21.txt README.txt OCCT_LGPL_EXCEPTION.txt +%license LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt +%doc README.txt %files -n libopencascade%{soname} -%defattr(-,root,root,-) %_libdir/lib*.so.%{soname}* %files DRAWEXE -%defattr(-,root,root,-) /usr/bin/DRAWEXE* %files devel -%defattr(-,root,root,-) -%doc doc/refman/html /usr/bin/custom* /usr/bin/draw.sh /usr/bin/env.sh @@ -152,4 +163,7 @@ /usr/lib/cmake %_libdir/lib*.so +%files devel-doc +%doc doc/refman/html + %changelog ++++++ fix_build.patch ++++++ --- /var/tmp/diff_new_pack.bpv4m0/_old 2018-07-09 13:29:47.218678838 +0200 +++ /var/tmp/diff_new_pack.bpv4m0/_new 2018-07-09 13:29:47.218678838 +0200 @@ -9,17 +9,3 @@ foreach (OCCT_MODULE ${OCCT_MODULES}) if (BUILD_MODULE_${OCCT_MODULE}) ---- src/Standard/Standard_CLocaleSentry.hxx.orig 2017-09-01 12:08:12.255680680 +0200 -+++ src/Standard/Standard_CLocaleSentry.hxx 2017-09-01 12:08:25.279681204 +0200 -@@ -35,11 +35,6 @@ - #endif - #endif // ifndef HAVE_LOCALE_H - --#if defined(HAVE_XLOCALE_H) && !(defined(__GLIBC__) && (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 24)) -- // xlocale.h is actually a non-standard header file; glibc 2.26 has removed it altogether (all definition comes from locale.h) -- #include <xlocale.h> --#endif -- - #if !defined(__ANDROID__) - - //! This class intended to temporary switch C locale and logically equivalent to setlocale(LC_ALL, "C"). ++++++ opencascade-7.2.0.tgz -> opencascade-7.3.0.tgz ++++++ /work/SRC/openSUSE:Factory/occt/opencascade-7.2.0.tgz /work/SRC/openSUSE:Factory/.occt.new/opencascade-7.3.0.tgz differ: char 5, line 1
