|
@@ -1,15 +1,11 @@
|
|
Summary: An unwinding library
|
|
Summary: An unwinding library
|
|
Name: libunwind
|
|
Name: libunwind
|
|
-Version: 1.0.1
|
|
+Version: 1.2.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: BSD
|
|
License: BSD
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://savannah.nongnu.org/projects/libunwind
|
|
URL: http://savannah.nongnu.org/projects/libunwind
|
|
Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
|
|
Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
|
|
-Patch1: libunwind-disable-setjmp.patch
|
|
|
|
-Patch2: libunwind-install-ptrace.patch
|
|
|
|
-Patch3: libunwind-arm-register-rename.patch
|
|
|
|
-
|
|
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -29,21 +25,23 @@ libunwind.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch1 -p1
|
|
|
|
-%patch2 -p1
|
|
|
|
-%patch3 -p1 -b .arm
|
|
|
|
-
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-static --enable-shared
|
|
+%configure --enable-static --enable-shared --enable-setjmp=no
|
|
%__make %{?_smp_mflags}
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
%makeinstall
|
|
|
|
|
|
-rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.la
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
-rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.a
|
|
+
|
|
|
|
+# [...] aren't really part of the libunwind API. They are implemented in
|
|
|
|
+# a archive library called libunwind-ptrace.a.
|
|
|
|
+mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a
|
|
|
|
+mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so*
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -60,11 +58,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libunwind*.so
|
|
%{_libdir}/libunwind*.so
|
|
-#%{_libdir}/libunwind*.a
|
|
+%{_libdir}/libunwind-ptrace.a
|
|
-%{_mandir}/*/*
|
|
+%{_libdir}/pkgconfig/libunwind*.pc
|
|
-%{_includedir}/*
|
|
+# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
|
|
|
|
+%{_includedir}/unwind.h
|
|
|
|
+%{_includedir}/libunwind*.h
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Feb 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- dropped all patches.
|
|
|
|
+
|
|
* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
|
|
* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
|
|
- update to 1.0.1
|
|
- update to 1.0.1
|
|
|
|
|