From 7c1d1a1ae8c8b70557ec47536efa8cb8932bcac0 Mon Sep 17 00:00:00 2001 From: "jk7744.park" Date: Tue, 8 Sep 2015 22:07:04 +0900 Subject: [PATCH] tizen 2.3.1 release --- packaging/tizen-debug.spec | 30 ++++++++++++++++++++++++++++++ tizen-debug.manifest | 5 +++++ 2 files changed, 35 insertions(+) create mode 100644 packaging/tizen-debug.spec create mode 100644 tizen-debug.manifest diff --git a/packaging/tizen-debug.spec b/packaging/tizen-debug.spec new file mode 100644 index 0000000..aca9ee9 --- /dev/null +++ b/packaging/tizen-debug.spec @@ -0,0 +1,30 @@ +#%define debug_package %{nil} +#%define __strip /bin/true + +Name: tizen-debug +Summary: libc debug information with .debug_frame section only and ld debug information +Version: 2.13 +Release: 1 +License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ +Group: Development/Libraries +Source0: %{name}-%{version}.tar.gz +BuildRequires: eglibc-debuginfo = %{version} +BuildRequires: binutils + +%description +The package contains the libc debug library with .debug_frame section only +which can be helpful during signal frame backtrace. +Also, the ld debug information is included for the debugging convenience. + +%prep +%setup -q + +%install +mkdir -p %{buildroot}/%{_prefix}/%{_lib}/debug/%{_lib} +objcopy -j .note.gnu.build-id -j .debug_frame %{_prefix}/%{_lib}/debug/%{_lib}/libc-%{version}.so.debug %{buildroot}%{_prefix}/%{_lib}/debug/%{_lib}/libc-%{version}.so.debug +cp %{_prefix}/%{_lib}/debug/%{_lib}/ld-%{version}.so.debug %{buildroot}%{_prefix}/%{_lib}/debug/%{_lib}/ld-%{version}.so.debug + +%files +%defattr(-,root,root) +%{_prefix}/%{_lib}/debug/%{_lib}/*.so.debug +%manifest %{name}.manifest diff --git a/tizen-debug.manifest b/tizen-debug.manifest new file mode 100644 index 0000000..97e8c31 --- /dev/null +++ b/tizen-debug.manifest @@ -0,0 +1,5 @@ + + + + + -- 2.7.4