Accepting request 55243 from home:puzel:branches:devel:tools

OBS-URL: https://build.opensuse.org/request/show/55243
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=11
This commit is contained in:
Torsten Duwe
2010-12-09 15:19:27 +00:00
committed by Git OBS Bridge
parent af868e4df2
commit b026815a5f
3 changed files with 303 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2
Source2: baselibs.conf
Patch: strace-%{version}.diff
Patch2: strace-sparc-proto.diff
Patch3: strace-add-support-for-block-ioctls.patch
Url: http://sourceforge.net/projects/strace/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -54,12 +55,15 @@ Authors:
%setup -q
%patch -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
%ifarch alpha
CFLAGS="$CFLAGS -ffixed-8"
%endif
# strace-add-support-for-block-ioctls.patch modifies Makefile.am
autoreconf -fi
./configure \
%ifarch %sparc
--host=%_target_platform \