fix multilib issues with libunwind.h (bz1866512)
This commit is contained in:
parent
dd778107e0
commit
0d267b17df
@ -4,7 +4,7 @@
|
|||||||
Summary: An unwinding library
|
Summary: An unwinding library
|
||||||
Name: libunwind
|
Name: libunwind
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -15,6 +15,7 @@ Patch1: libunwind-arm-default-to-exidx.patch
|
|||||||
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} s390x %{ix86} x86_64
|
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} s390x %{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}
|
||||||
@ -48,6 +49,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.
|
||||||
@ -85,6 +88,9 @@ echo ====================TESTSUITE DISABLED=========================
|
|||||||
%{_includedir}/libunwind*.h
|
%{_includedir}/libunwind*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 10 2020 Tom Callaway <spot@fedoraproject.org> - 1.4.0-3
|
||||||
|
- fix multilib issues with libunwind.h (bz1866512)
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user