Add fix for newer NodeJS version, minor spec cleanups
This commit is contained in:
parent
035e9e01d4
commit
81741091cf
1863
swig-Upgrade-to-support-newer-NodeJS.patch
Normal file
1863
swig-Upgrade-to-support-newer-NodeJS.patch
Normal file
File diff suppressed because it is too large
Load Diff
16
swig.spec
16
swig.spec
@ -37,7 +37,7 @@
|
|||||||
%{!?Rlang:%global Rlang 1}
|
%{!?Rlang:%global Rlang 1}
|
||||||
%bcond_without build_ccache_swig
|
%bcond_without build_ccache_swig
|
||||||
%endif
|
%endif
|
||||||
%ifarch aarch64 %{arm} %{mips} ppc64le ppc %{power64} s390 s390x
|
%ifarch aarch64 %{arm} %{mips} ppc %{power64} s390 s390x
|
||||||
%{!?javalang:%global javalang 0}
|
%{!?javalang:%global javalang 0}
|
||||||
%else
|
%else
|
||||||
%{!?javalang:%global javalang 1}
|
%{!?javalang:%global javalang 1}
|
||||||
@ -53,7 +53,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.1
|
Version: 4.0.1
|
||||||
Release: 7%{?dist}
|
Release: 8%{?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
|
||||||
@ -75,6 +75,8 @@ Patch2: swig-4.0.1-Add-support-for-Ruby-2.7.patch
|
|||||||
# Fix crash in Python backend when using empty docstrings
|
# Fix crash in Python backend when using empty docstrings
|
||||||
# https://github.com/swig/swig/pull/1710
|
# https://github.com/swig/swig/pull/1710
|
||||||
Patch3: swig-4.0.1-Fix-crash-in-Python-backend-when-using-empty-docstrings.patch
|
Patch3: swig-4.0.1-Fix-crash-in-Python-backend-when-using-empty-docstrings.patch
|
||||||
|
# https://github.com/swig/swig/pull/1702
|
||||||
|
Patch4: swig-Upgrade-to-support-newer-NodeJS.patch
|
||||||
|
|
||||||
BuildRequires: perl-interpreter, pcre-devel
|
BuildRequires: perl-interpreter, pcre-devel
|
||||||
%if %{python2lang}
|
%if %{python2lang}
|
||||||
@ -173,12 +175,7 @@ This package contains file with commands for easier debugging of SWIG
|
|||||||
in gdb.
|
in gdb.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n swig-%{version}
|
%autosetup -p1
|
||||||
|
|
||||||
%patch0 -p1 -b .isystem
|
|
||||||
%patch1 -p1 -b .global
|
|
||||||
%patch2 -p1 -b .ruby27
|
|
||||||
%patch3 -p1 -b .python
|
|
||||||
|
|
||||||
for all in CHANGES README; do
|
for all in CHANGES README; do
|
||||||
iconv -f ISO88591 -t UTF8 < $all > $all.new
|
iconv -f ISO88591 -t UTF8 < $all > $all.new
|
||||||
@ -351,6 +348,9 @@ install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb
|
|||||||
%{_datadir}/%{name}/gdb
|
%{_datadir}/%{name}/gdb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 25 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.0.1-8
|
||||||
|
- Add fix for newer NodeJS version
|
||||||
|
|
||||||
* Tue Feb 04 2020 Michael Jeanson <mjeanson@efficios.com> - 4.0.1-7
|
* Tue Feb 04 2020 Michael Jeanson <mjeanson@efficios.com> - 4.0.1-7
|
||||||
- Fix crash in Python backend when using empty docstrings
|
- Fix crash in Python backend when using empty docstrings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user