summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-07 13:51:33 -0800
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:27 +0900
commitb335bbb9b11b073e0a67c4716fea9476854fc8b6 (patch)
tree685436e39ffcc2768a7fd3685c88686d8e2014d6
parentdfab7520b1fc0029a5a414e59068fd55e19c2dda (diff)
downloadltrace-b335bbb9b11b073e0a67c4716fea9476854fc8b6.tar.gz
ltrace-b335bbb9b11b073e0a67c4716fea9476854fc8b6.tar.bz2
ltrace-b335bbb9b11b073e0a67c4716fea9476854fc8b6.zip
clean up spec
-rw-r--r--packaging/ltrace.demangle-lib.cstdlib.patch12
-rw-r--r--packaging/ltrace.spec40
2 files changed, 2 insertions, 50 deletions
diff --git a/packaging/ltrace.demangle-lib.cstdlib.patch b/packaging/ltrace.demangle-lib.cstdlib.patch
deleted file mode 100644
index f000eff..0000000
--- a/packaging/ltrace.demangle-lib.cstdlib.patch
+++ /dev/null
@@ -1,12 +0,0 @@
----
- testsuite/ltrace.minor/demangle-lib.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/testsuite/ltrace.minor/demangle-lib.cpp
-+++ b/testsuite/ltrace.minor/demangle-lib.cpp
-@@ -1,4 +1,5 @@
- #include<stddef.h>
-+#include<cstdlib>
- #include<iostream>
-
- #include"demangle.h"
diff --git a/packaging/ltrace.spec b/packaging/ltrace.spec
index 6afc204..3a29224 100644
--- a/packaging/ltrace.spec
+++ b/packaging/ltrace.spec
@@ -1,45 +1,17 @@
-#
-# spec file for package ltrace
-#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# 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 http://bugs.opensuse.org/
-#
-
-
Name: ltrace
BuildRequires: binutils-devel
BuildRequires: dejagnu
BuildRequires: gcc-c++
BuildRequires: libelf-devel
Url: http://ltrace.org/
-# bug437293
-%ifarch ppc64
-Obsoletes: ltrace-64bit
-%endif
-#
Summary: Trace the Library and System Calls a Program Makes
License: GPL-2.0+
Group: Development/Tools/Debuggers
Version: 0.5.3
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch: %ix86 s390 s390x ppc ppc64 armv4l x86_64 alpha ia64
-Prefix: /usr
Source: ltrace-%{version}.tar.bz2
Source2: baselibs.conf
-Patch1: ltrace.s390-more-arguments.patch
-Patch2: ltrace.demangle-lib.cstdlib.patch
-Patch3: ltrace.ppc.patch
%description
Ltrace is a program that runs the specified command until it exits. It
@@ -54,16 +26,8 @@ This is still a work in progress, so, for example, the tracking to
child processes may fail or some things may not work as expected.
-
-Authors:
---------
- Juan Cespedes
-
%prep
%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%build
export CFLAGS="%{optflags} -W -Wall"
@@ -71,9 +35,9 @@ export CFLAGS="%{optflags} -W -Wall"
--sysconfdir=/etc \
--mandir=%{_mandir} \
%ifarch armv4l
- --build=arm-suse-linux
+ --build=arm-tizen-linux
%else
- --build=%{_target_cpu}-suse-linux
+ --build=%{_target_cpu}-tizen-linux
%endif
make
%if 1