commit strace for openSUSE:Factory
Hello community, here is the log from the commit of package strace for openSUSE:Factory checked in at 2016-04-22 16:17:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/strace (Old) and /work/SRC/openSUSE:Factory/.strace.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "strace" Changes: -------- --- /work/SRC/openSUSE:Factory/strace/strace.changes 2016-01-04 09:20:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.strace.new/strace.changes 2016-04-22 16:17:09.000000000 +0200 @@ -1,0 +2,8 @@ +Sat Apr 16 12:44:28 UTC 2016 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Drop alpha/sparc conditionals, neither is supported +- Drop ppc/ppc64 provides/obsolete as no longer needed +- Do not export OPTFLAGS as they are used anyways + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ strace.spec ++++++ --- /var/tmp/diff_new_pack.Vj0OuL/_old 2016-04-22 16:17:10.000000000 +0200 +++ /var/tmp/diff_new_pack.Vj0OuL/_new 2016-04-22 16:17:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package strace # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,31 +23,26 @@ License: BSD-3-Clause Group: Development/Tools/Debuggers 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 +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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: haveged BuildRequires: libacl-devel BuildRequires: libaio-devel +BuildRequires: lksctp-tools-devel +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build # libunwind is broken on ppc and ppc64 and aarch64 -%ifarch %ix86 ia64 x86_64 %{arm} ppc64le +%ifarch %ix86 ia64 x86_64 %arm ppc64le BuildRequires: libunwind-devel %endif -BuildRequires: lksctp-tools-devel -%if 0%{suse_version} > 1140 +%if 0%{?suse_version} > 1140 BuildRequires: sysvinit-tools BuildRequires: time %endif -BuildRequires: xz -# bug437293 -%ifarch ppc64 -Obsoletes: strace-64bit -%endif %ifarch x86_64 Obsoletes: strace-32bit %endif @@ -57,51 +52,35 @@ about any system calls the program makes and the signals it receives and processes can be seen. Child processes can also be tracked. - - -Authors: --------- - Paul Kranenburg <pk@cs.few.eur.nl> - Branko Lankester <branko@hacktic.nl> - Rick Sladkey <rs@world.std.com> - %prep %setup -q %build -export CFLAGS="$RPM_OPT_FLAGS" -%ifarch alpha -CFLAGS="$CFLAGS -ffixed-8" -%endif -%configure \ -%ifarch %sparc - --host=%_target_platform \ -%endif - %{nil} +%configure make %{?_smp_mflags} # Have to exclude make check for qemu builds, which apparently don't support PTRACE. %if !(0%{?qemu_user_space_build}) %check -haveged=$(PATH=$PATH:/sbin:/usr/sbin type -p haveged) +haveged=$(PATH=$PATH:/sbin:%{_sbindir} type -p haveged) if test -n "$haveged" && ! /sbin/checkproc $haveged ; then $haveged --pidfile=$PWD/haveged.pid < /dev/null 1>&0 2>&0 || true fi -make check || { cat tests/test-suite.log; exit 1; } +make %{?_smp_mflags} check || { cat tests/test-suite.log; exit 1; } if test -s $PWD/haveged.pid ; then /sbin/killproc -p $PWD/haveged.pid $haveged fi %endif %install -make install DESTDIR=$RPM_BUILD_ROOT +make %{?_smp_mflags} DESTDIR=%{buildroot} install %files %defattr(-,root,root) %doc CREDITS README README-linux-ptrace NEWS -%{_prefix}/bin/strace -%{_prefix}/bin/strace-graph -%{_prefix}/bin/strace-log-merge -%{_mandir}/man1/strace.1.gz +%{_bindir}/strace +%{_bindir}/strace-graph +%{_bindir}/strace-log-merge +%{_mandir}/man1/strace.1%{ext_man} %changelog
participants (1)
-
root@hilbert.suse.de