Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kicad for openSUSE:Factory checked 
in at 2023-02-15 13:40:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kicad (Old)
 and      /work/SRC/openSUSE:Factory/.kicad.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kicad"

Wed Feb 15 13:40:22 2023 rev:52 rq:1065843 version:7.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kicad/kicad.changes      2023-01-28 
18:54:27.573728869 +0100
+++ /work/SRC/openSUSE:Factory/.kicad.new.22824/kicad.changes   2023-02-15 
13:40:50.926882389 +0100
@@ -1,0 +2,9 @@
+Tue Feb 14 18:34:09 UTC 2023 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- update to 7.0.0:
+  See https://www.kicad.org/blog/2023/02/KiCad-7.0.0-Release/ for details.
+- Drop obsolete
+  0001-Use-library-target-install-for-python-module-to-fix-.patch
+- Adjust memory _constraints, add memoryperjob
+
+-------------------------------------------------------------------

Old:
----
  0001-Use-library-target-install-for-python-module-to-fix-.patch
  kicad-6.0.11.tar.bz2

New:
----
  kicad-7.0.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kicad.spec ++++++
--- /var/tmp/diff_new_pack.Ri6IcY/_old  2023-02-15 13:40:51.474885279 +0100
+++ /var/tmp/diff_new_pack.Ri6IcY/_new  2023-02-15 13:40:51.478885300 +0100
@@ -16,23 +16,28 @@
 #
 
 
-# According to upstream, kicad 6.x.y can be used with the footprint and
-# symbol libraries from version 6.0.0
-%define compatversion 6.0.0
+# According to upstream, kicad 7.x.y can be used with the footprint and
+# symbol libraries from version 7.0.0
+%define compatversion 7.0.0
 Name:           kicad
-Version:        6.0.11
-%define file_version 6.0.11
+Version:        7.0.0
+%define file_version 7.0.0
 Release:        0
 Summary:        EDA software suite for the creation of schematics and PCB
 License:        AGPL-3.0-or-later AND GPL-3.0-or-later
 Group:          Productivity/Scientific/Electronics
 URL:            https://www.kicad.org
 Source:         
https://gitlab.com/kicad/code/kicad/-/archive/%{file_version}/kicad-%{file_version}.tar.bz2
-Patch0:         0001-Use-library-target-install-for-python-module-to-fix-.patch
 
-BuildRequires:  cmake >= 3.14
+BuildRequires:  cmake >= 3.16
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
+# Requires charconv from C++17
+%if 0%{?suse_version} >= 1550
+BuildRequires:  gcc-c++ >= 8
+%else
+BuildRequires:  gcc11-PIE
+BuildRequires:  gcc11-c++ >= 8
+%endif
 BuildRequires:  gettext
 BuildRequires:  glm-devel >= 0.9.8
 BuildRequires:  libboost_filesystem-devel-impl
@@ -50,6 +55,7 @@
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(libcurl)
+BuildRequires:  pkgconfig(odbc)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(python3) >= 3.6
 BuildRequires:  pkgconfig(zlib)
@@ -69,6 +75,8 @@
 Recommends:     python3-wxPython
 Obsoletes:      kicad = 20140120
 Provides:       kicad = %{compatversion}
+# Test suite fails, 32 bit archs no longer supported
+ExcludeArch:    %{arm}
 
 %description
 KiCad is an open source (GPL) software for the creation of electronic
@@ -116,8 +124,16 @@
 
 %prep
 %autosetup -p1 -n kicad-%{file_version}
+%if 0%{?suse_version} < 1550
+sed -i -e '/cmake_minimum_required/ s/3.21/3.16/' CMakeLists.txt
+sed -i -e '/SWIG/ s/4.0/3.0/' CMakeLists.txt
+sed -i -e '/SWIG_OPTS/ { s/ -O/ -py3/ ; s/ -fastdispatch//}' 
pcbnew/CMakeLists.txt
+%endif
 
 %build
+%if 0%{?suse_version} < 1550
+export CXX=g++-11 CC=gcc-11
+%endif
 %cmake \
     -DCMAKE_SKIP_RPATH:BOOL=OFF \
     -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
@@ -151,23 +167,11 @@
 # https://gitlab.com/kicad/code/kicad/-/issues/9944
 rm -rf %{buildroot}%{_libdir}/libkicad*.a
 
-# Delete packaging/maintenance scripts
-rm "%{buildroot}%{_docdir}/kicad/scripts/"{test_kicad_plugin.py,test_plugin.py}
-
-# Move remaining standalone scripts to kicad directory
-mv %{buildroot}%{_docdir}/kicad/scripts %{buildroot}%{_datadir}/kicad/
-sed -i '1s@^#!.*python.*@#!/usr/bin/python3@' 
%{buildroot}%{_datadir}/kicad/scripts/*.py
-chmod +x %{buildroot}%{_datadir}/kicad/scripts/*.py
-
-# Fix executable bits for scripts executed directly from kicad, remove 
she-bangs
+# Fix executable bits for scripts executed directly from kicad
 chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
-sed -i '1s@^#!.*@@' %{buildroot}%{_datadir}/kicad/scripting/*/*.py
 
 %fdupes %{buildroot}%{_datadir}/kicad
 %fdupes %{buildroot}%{_datadir}/icons/hicolor
-# the pcbnew kiface and the python module are actually the same file
-cmp %{buildroot}%{_bindir}/_pcbnew.kiface 
%{buildroot}%{python3_sitearch}/_pcbnew.so && \
-  ln -sf  %{_bindir}/_pcbnew.kiface %{buildroot}%{python3_sitearch}/_pcbnew.so
 
 %find_lang %{name}
 
@@ -183,7 +187,7 @@
 %postun -p /sbin/ldconfig
 
 %files
-%doc README.md Documentation/changelogs
+%doc README.md
 %license LICENSE.*
 %{_bindir}/*
 %{_libdir}/kicad/

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.Ri6IcY/_old  2023-02-15 13:40:51.518885512 +0100
+++ /var/tmp/diff_new_pack.Ri6IcY/_new  2023-02-15 13:40:51.522885533 +0100
@@ -2,11 +2,14 @@
 <constraints>
   <hardware>
     <disk>
-      <size unit="G">11</size>
+      <size unit="G">12</size>
     </disk>
     <memory>
       <size unit="G">8</size>
     </memory>
+    <memoryperjob>
+      <size unit="M">1300</size>
+    </memoryperjob>
   </hardware>
 </constraints>
 

++++++ kicad-6.0.11.tar.bz2 -> kicad-7.0.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/kicad/kicad-6.0.11.tar.bz2 
/work/SRC/openSUSE:Factory/.kicad.new.22824/kicad-7.0.0.tar.bz2 differ: char 
11, line 1

Reply via email to