libunwind/libunwind.spec
Pedro Monreal Gonzalez 8da7e29fc5 Accepting request 864441 from home:dirkmueller:branches:devel:libraries:c_c++
- update to 1.5.0:
  * dwarf: clang doesn't respect the static alias
  * Fixed a missing dependency in dwarf-eh.h 
  * x86_64: Fix tdep_init_done when built with libatomic_ops 
  * mips: make _step_n64 as a static function
  * Added braces to suppress empty if/else warnings
  * Delete hardcode of address size to support MIPS64.
  * Fix format specifier for int64_t:29
  * Add initial support for Solaris x86-64
  * x86_64: Add fixup code if previous RIP was invalid
  * x86-64: make `is_cached_valid_mem` functional
  * arm: clear ip thumb/arm mode bit before move to previous instruction
  * Fix compilation with -fno-common.
  * Fix off-by-one error in x86_64 stack frames
  * aarch64: Fix __sigset build issue on muslC
  * Make SHF_COMPRESSED use contingent on its existence 
- remove libunwind_U_dyn_info_list.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/864441
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libunwind?expand=0&rev=50
2021-01-20 09:16:51 +00:00

77 lines
2.0 KiB
RPMSpec

#
# spec file for package libunwind
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libunwind
Version: 1.5.0
Release: 0
Summary: Call chain detection library
License: MIT
Group: System/Base
URL: https://savannah.nongnu.org/projects/libunwind/
Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: lzma-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(atomic_ops)
ExcludeArch: s390 riscv64
%description
A C programming interface (API) to determine the call chain of a program.
%package devel
Summary: Headers for the Unwind library
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
A C programming interface (API) to determine the call chain of a program.
%prep
%setup -q
%build
%configure \
--enable-minidebuginfo
%make_build
%check
%if ! 0%{?qemu_user_space_build}
# run-coredump-unwind fails
%make_build check || :
%endif
%install
%make_install
find %{buildroot} -iregex '.*\.l?a$' -delete -print
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_libdir}/lib*.so.*
%files devel
%{_includedir}/*
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}*.pc
%changelog