Accepting request 1082612 from home:StefanBruens:branches:electronics

- update to 7.0.2:
  See https://www.kicad.org/blog/2023/04/KiCad-7.0.2-Release/ for details.
- Reduce build parallelism to avoid occasional OOM errors.
- Disable qa_eeschema unit test on aarch64.

OBS-URL: https://build.opensuse.org/request/show/1082612
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=110
This commit is contained in:
Stefan Brüns 2023-04-26 14:56:49 +00:00 committed by Git OBS Bridge
parent 6c24a9e576
commit 2e5c9771f3
4 changed files with 19 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d77fca280691c803a1ae07ee15dd436f59cf06302addb9fe6d8f7284206c9858
size 42744121

3
kicad-7.0.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d7a370ebbd2f7f0603d395d2b3b8c14f5e0ed71441c03895591fb776c4ce38e
size 42844186

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 25 02:01:48 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- update to 7.0.2:
See https://www.kicad.org/blog/2023/04/KiCad-7.0.2-Release/ for details.
- Reduce build parallelism to avoid occasional OOM errors.
- Disable qa_eeschema unit test on aarch64.
-------------------------------------------------------------------
Sat Mar 11 03:59:46 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -20,8 +20,8 @@
# symbol libraries from version 7.0.0
%define compatversion 7.0.0
Name: kicad
Version: 7.0.1
%define file_version 7.0.1
Version: 7.0.2
%define file_version 7.0.2
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
@ -44,6 +44,7 @@ BuildRequires: libboost_filesystem-devel-impl
BuildRequires: libboost_system-devel-impl >= 1.71
BuildRequires: libboost_test-devel-impl
BuildRequires: libngspice-devel
BuildRequires: memory-constraints
BuildRequires: occt-devel
BuildRequires: pkg-config
BuildRequires: python3-pybind11-devel
@ -134,6 +135,7 @@ sed -i -e '/SWIG_OPTS/ { s/ -O/ -py3/ ; s/ -fastdispatch//}' pcbnew/CMakeLists.t
%if 0%{?suse_version} < 1550
export CXX=g++-11 CC=gcc-11
%endif
%limit_build -m 1500
%cmake \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
@ -176,9 +178,11 @@ chmod -x %{buildroot}%{_datadir}/kicad/scripting/*/*.py
%find_lang %{name}
%check
%ifarch %{ix86}
# https://gitlab.com/kicad/code/kicad/-/issues/10149
%ifarch %{ix86} aarch64
# ix86: https://gitlab.com/kicad/code/kicad/-/issues/10149
# aarch64: https://sourceforge.net/p/ngspice/bugs/622/
%ctest --exclude-regex qa_eeschema
%ctest --tests-regex qa_eeschema || true
%else
%ctest
%endif