[packages/libunwind] - updated to 1.8.1, dropped link patch (applied upstream)
hawk
hawk at pld-linux.org
Mon Dec 23 14:41:55 CET 2024
commit edf27eba7acb9f273d22862fefe2fe6d76e500b9
Author: Marcin Krol <hawk at tld-linux.org>
Date: Sun Dec 22 16:07:28 2024 +0100
- updated to 1.8.1, dropped link patch (applied upstream)
libunwind-link.patch | 19 -------------------
libunwind.spec | 18 ++++++++++--------
2 files changed, 10 insertions(+), 27 deletions(-)
---
diff --git a/libunwind.spec b/libunwind.spec
index 4e297a0..fb34ab8 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -7,15 +7,14 @@
Summary: libunwind - a (mostly) platform-independent unwind API
Summary(pl.UTF-8): libunwind - (prawie) niezależne od platformy API do rozwijania
Name: libunwind
-Version: 1.6.2
-Release: 2
+Version: 1.8.1
+Release: 1
License: MIT
Group: Libraries
-Source0: https://download.savannah.gnu.org/releases/libunwind/%{name}-%{version}.tar.gz
-# Source0-md5: f625b6a98ac1976116c71708a73dc44a
-Patch0: %{name}-link.patch
-Patch1: %{name}-x32.patch
-URL: http://www.nongnu.org/libunwind/
+Source0: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 10c96118ff30b88c9eeb6eac8e75599d
+Patch0: %{name}-x32.patch
+URL: https://github.com/libunwind/libunwind
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.6
%ifarch %{x8664}
@@ -83,7 +82,6 @@ Statyczna biblioteka libunwind.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
@@ -95,6 +93,7 @@ Statyczna biblioteka libunwind.
%configure \
CFLAGS="%{rpmcflags} -fPIC" \
%{!?with_doc:--disable-documentation} \
+ %{!?with_tests:--disable-tests} \
%{__enable_disable static_libs static}
%{__make}
@@ -125,6 +124,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %ghost %{_libdir}/libunwind-setjmp.so.0
%attr(755,root,root) %{_libdir}/libunwind-%{asuf}.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libunwind-%{asuf}.so.8
+%if %{with doc}
+%{_libexecdir}/libunwind
+%endif
%files devel
%defattr(644,root,root,755)
diff --git a/libunwind-link.patch b/libunwind-link.patch
deleted file mode 100644
index 37ca448..0000000
--- a/libunwind-link.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- libunwind-1.2.1/src/Makefile.am~ 2017-06-15 23:26:53.000000000 +0200
-+++ libunwind-1.2.1/src/Makefile.am 2017-10-29 09:54:08.523287787 +0100
-@@ -49,6 +49,7 @@ libunwind_ptrace_la_SOURCES = \
- ptrace/_UPT_find_proc_info.c ptrace/_UPT_get_dyn_info_list_addr.c \
- ptrace/_UPT_put_unwind_info.c ptrace/_UPT_get_proc_name.c \
- ptrace/_UPT_reg_offset.c ptrace/_UPT_resume.c
-+libunwind_ptrace_la_LIBADD = libunwind-$(arch).la
- noinst_HEADERS += ptrace/_UPT_internal.h
-
- ### libunwind-coredump:
-@@ -68,7 +69,7 @@ libunwind_coredump_la_SOURCES = \
- coredump/_UPT_resume.c
- libunwind_coredump_la_LDFLAGS = $(COMMON_SO_LDFLAGS) \
- -version-info $(COREDUMP_SO_VERSION)
--libunwind_coredump_la_LIBADD = $(LIBLZMA) $(LIBZ)
-+libunwind_coredump_la_LIBADD = libunwind-$(arch).la $(LIBLZMA) $(LIBZ)
- noinst_HEADERS += coredump/_UCD_internal.h coredump/_UCD_lib.h
-
- ### libunwind-setjmp:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libunwind.git/commitdiff/edf27eba7acb9f273d22862fefe2fe6d76e500b9
More information about the pld-cvs-commit
mailing list