From f8b278b91f0f50dfcca93fe67151b98f5ff075cc Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 29 Jul 2020 10:27:31 +0200 Subject: [PATCH] Use make macros; Disable Go tests --- swig.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/swig.spec b/swig.spec index 809f7a8..2263b52 100644 --- a/swig.spec +++ b/swig.spec @@ -45,7 +45,8 @@ # Do not run Go tests, they failed with 4.0.0 on ppc64le %ifarch %{ix86} x86_64 %{arm} aarch64 -%{!?golang:%global golang 1} +# Tests do not work with Go 1.15 +%{!?golang:%global golang 0} %else %{!?golang:%global golang 0} %endif @@ -53,7 +54,7 @@ Summary: Connects C/C++/Objective C to some high-level programming languages Name: swig Version: 4.0.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ and BSD URL: http://swig.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz @@ -212,7 +213,7 @@ done --disable-ccache \ %endif ; -make %{?_smp_mflags} +%{make_build} %if %{with testsuite} # Test suite @@ -239,7 +240,7 @@ for all in `find -type f`; do done popd -make DESTDIR=%{buildroot} install +%{make_install} ################################################# # Use help output for generating of man page swig @@ -334,6 +335,11 @@ install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb %{_datadir}/%{name}/gdb %changelog +* Wed Jul 29 2020 Tom Stellard - 4.0.2-2 +- Use make macros + https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro +- Disable Go tests + * Mon Jun 08 2020 Jitka Plesnikova - 4.0.2-1 - Update to 4.0.2