fix multilib issues with libunwind.h (bz1866512)
This commit is contained in:
parent
ec928ec8df
commit
06f8fdc33f
|
@ -4,7 +4,7 @@
|
||||||
Summary: An unwinding library
|
Summary: An unwinding library
|
||||||
Name: libunwind
|
Name: libunwind
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://savannah.nongnu.org/projects/libunwind
|
URL: http://savannah.nongnu.org/projects/libunwind
|
||||||
Source: http://download-mirror.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
|
Source: http://download-mirror.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
|
||||||
|
@ -19,6 +19,7 @@ Patch2: libunwind-1.3.1-no-core-mem-check.patch
|
||||||
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
|
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
|
||||||
|
|
||||||
BuildRequires: automake libtool autoconf texlive-latex2man
|
BuildRequires: automake libtool autoconf texlive-latex2man
|
||||||
|
BuildRequires: multilib-rpm-config
|
||||||
|
|
||||||
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
|
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
|
||||||
%global _host %{_target_platform}
|
%global _host %{_target_platform}
|
||||||
|
@ -53,6 +54,8 @@ make %{?_smp_mflags}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
%multilib_fix_c_header --file %{_includedir}/libunwind.h
|
||||||
|
|
||||||
# /usr/include/libunwind-ptrace.h
|
# /usr/include/libunwind-ptrace.h
|
||||||
# [...] aren't really part of the libunwind API. They are implemented in
|
# [...] aren't really part of the libunwind API. They are implemented in
|
||||||
# a archive library called libunwind-ptrace.a.
|
# a archive library called libunwind-ptrace.a.
|
||||||
|
@ -90,6 +93,9 @@ echo ====================TESTSUITE DISABLED=========================
|
||||||
%{_includedir}/libunwind*.h
|
%{_includedir}/libunwind*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 10 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.1-6
|
||||||
|
- fix multilib issues with libunwind.h (bz1866512)
|
||||||
|
|
||||||
* Fri Jan 31 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.1-5
|
* Fri Jan 31 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.1-5
|
||||||
- backport change from upstream to fix reported test failures (bz1795896)
|
- backport change from upstream to fix reported test failures (bz1795896)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue