Use make macros; Disable Go tests
This commit is contained in:
parent
67adf0affe
commit
f8b278b91f
14
swig.spec
14
swig.spec
@ -45,7 +45,8 @@
|
|||||||
|
|
||||||
# Do not run Go tests, they failed with 4.0.0 on ppc64le
|
# Do not run Go tests, they failed with 4.0.0 on ppc64le
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
||||||
%{!?golang:%global golang 1}
|
# Tests do not work with Go 1.15
|
||||||
|
%{!?golang:%global golang 0}
|
||||||
%else
|
%else
|
||||||
%{!?golang:%global golang 0}
|
%{!?golang:%global golang 0}
|
||||||
%endif
|
%endif
|
||||||
@ -53,7 +54,7 @@
|
|||||||
Summary: Connects C/C++/Objective C to some high-level programming languages
|
Summary: Connects C/C++/Objective C to some high-level programming languages
|
||||||
Name: swig
|
Name: swig
|
||||||
Version: 4.0.2
|
Version: 4.0.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+ and BSD
|
License: GPLv3+ and BSD
|
||||||
URL: http://swig.sourceforge.net/
|
URL: http://swig.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
|
||||||
@ -212,7 +213,7 @@ done
|
|||||||
--disable-ccache \
|
--disable-ccache \
|
||||||
%endif
|
%endif
|
||||||
;
|
;
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%if %{with testsuite}
|
%if %{with testsuite}
|
||||||
# Test suite
|
# Test suite
|
||||||
@ -239,7 +240,7 @@ for all in `find -type f`; do
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
make DESTDIR=%{buildroot} install
|
%{make_install}
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
# Use help output for generating of man page swig
|
# 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
|
%{_datadir}/%{name}/gdb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 29 2020 Tom Stellard <tstellar@redhat.com> - 4.0.2-2
|
||||||
|
- Use make macros
|
||||||
|
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
- Disable Go tests
|
||||||
|
|
||||||
* Mon Jun 08 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.2-1
|
* Mon Jun 08 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.2-1
|
||||||
- Update to 4.0.2
|
- Update to 4.0.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user