Accepting request 178891 from home:jengelh:branches:devel:tools
- Update to new upstream release 4.8 OBS-URL: https://build.opensuse.org/request/show/178891 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=29
This commit is contained in:
41
strace.spec
41
strace.spec
@@ -17,26 +17,32 @@
|
||||
|
||||
|
||||
Name: strace
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: lksctp-tools-devel
|
||||
BuildRequires: xz
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: strace-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 4.7
|
||||
Version: 4.8
|
||||
Release: 0
|
||||
Summary: A utility to trace the system calls of a program
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Debuggers
|
||||
Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Patch0: strace-%{version}.diff
|
||||
Patch1: strace-aarch64.diff
|
||||
Url: http://sourceforge.net/projects/strace/
|
||||
|
||||
#Freecode-URL: http://freecode.com/projects/strace
|
||||
#Git-Clone: git://git.code.sf.net/p/strace/code
|
||||
Source: http://downloads.sourceforge.net/strace/%name-%version.tar.xz
|
||||
Source2: http://downloads.sourceforge.net/strace/%name-%version.tar.xz.asc
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: strace-4.7.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: lksctp-tools-devel
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: strace-64bit
|
||||
%endif
|
||||
|
||||
%description
|
||||
With strace, you can trace the activity of a program. Information
|
||||
@@ -52,9 +58,9 @@ Authors:
|
||||
Rick Sladkey <rs@world.std.com>
|
||||
|
||||
%prep
|
||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
@@ -77,9 +83,6 @@ make check
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README README-linux NEWS
|
||||
|
Reference in New Issue
Block a user