- Update to version 0.18.5: * Fix addon manager to adapt to GitHub infrastructure changes. * Add 0001-Fix-ODR-violation-correct-Ui_TaskSketcherGeneral-nam.patch * Rebase 0001-boost-1.73.0-The-practice-of-declaring-the-Bind-plac.patch - Reenable workbenches dependent on Mesher (e.g. Path, FEM): * Add fix-smesh-vtk.patch OBS-URL: https://build.opensuse.org/request/show/851571 OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=129
46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package FreeCAD-test
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: FreeCAD-test
|
|
Version: 0.18.5
|
|
Release: 0
|
|
Summary: Meta source package that runs the FreeCAD testsuite when built
|
|
License: LGPL-2.0-or-later AND GPL-2.0-or-later
|
|
Group: Productivity/Graphics/CAD
|
|
URL: http://www.freecadweb.org/
|
|
BuildRequires: FreeCAD
|
|
%if 0%{?suse_version} > 1500
|
|
BuildRequires: gmsh
|
|
%endif
|
|
|
|
# Test suite fails on 32bit and I don't want to debug that anymore
|
|
ExcludeArch: %ix86 %arm ppc s390 s390x
|
|
|
|
%description
|
|
This is just executing the test suite at build time.
|
|
|
|
%build
|
|
export LC_ALL="C.utf-8"
|
|
file=`mktemp`
|
|
if ! FreeCAD --console --write-log --log-file="$file" --run-test 0; then
|
|
cat "$file"
|
|
exit 1
|
|
fi
|
|
|
|
%changelog
|