spec cleanup
authorAnas Nashif <anas.nashif@intel.com>
Thu, 15 Nov 2012 21:46:38 +0000 (13:46 -0800)
committerSungguk Na <sungguk.na@samsung.com>
Fri, 27 Nov 2020 08:54:34 +0000 (17:54 +0900)
packaging/strace.spec

index 06385ffeb6c8a9a119278324e9207b7dd99bc92d..23e76ee47bab41dff3b672757858bd99a69448c6 100644 (file)
@@ -1,31 +1,8 @@
-#
-# spec file for package strace
-#
-# 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:           strace
 BuildRequires:  libacl-devel
 BuildRequires:  libaio-devel
 BuildRequires:  lksctp-tools-devel
 BuildRequires:  xz
-# bug437293
-%ifarch ppc64
-Obsoletes:      strace-64bit
-%endif
-#
 Version:        4.7
 Release:        0
 License:        BSD-3-Clause
@@ -34,8 +11,6 @@ Url:            http://sourceforge.net/projects/strace/
 Group:          Development/Tools/Debuggers
 Source:         http://dl.sourceforge.net/strace/strace-%{version}.tar.xz
 Source2:        baselibs.conf
-Patch0:         strace-%{version}.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 With strace, you can trace the activity of a program.  Information
@@ -44,17 +19,10 @@ and processes can be seen.  Child processes can also be tracked.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
-%ifarch alpha
-CFLAGS="$CFLAGS -ffixed-8"
-%endif
-%configure \
-%ifarch %sparc
-       --host=%_target_platform
-%endif
+%configure 
 
 make %{?_smp_mflags}
 
@@ -69,7 +37,6 @@ make check
 
 %files
 %defattr(-,root,root)
-%doc README README-linux NEWS
 %{_bindir}/strace
 %{_bindir}/strace-graph
 %{_bindir}/strace-log-merge