]> git.pld-linux.org Git - packages/strace.git/blobdiff - strace.spec
Release 2 (by relup.sh)
[packages/strace.git] / strace.spec
index faa77c719d6070f02d52527e4c3eaca62c943d5c..a96f1c613f946caba8186de36081e766829a5cbd 100644 (file)
@@ -6,6 +6,11 @@
 %ifnarch %{ix86} %{x8664} x32 %{arm} hppa ia64 mips ppc ppc64 sh
 %undefine      with_libunwind
 %endif
+
+%ifnarch aarch64
+%define                with_mpers      1
+%endif
+
 Summary:       prints system call strace of a running process
 Summary(de.UTF-8):     druckt ein Protokoll der Systemaufrufe eines laufenden Prozesses
 Summary(es.UTF-8):     Enseña las llamadas de sistema de un proceso en ejecución
@@ -16,13 +21,14 @@ Summary(ru.UTF-8):  Отслеживает и показывает системн
 Summary(tr.UTF-8):     Çalışan bir sürecin yaptığı sistem çağrılarını listeler
 Summary(uk.UTF-8):     Відслідковує та показує системні виклики, пов'язані із запущеним процесом
 Name:          strace
-Version:       5.3
-Release:       1
+Version:       5.19
+Release:       2
 License:       LGPL v2.1+
 Group:         Development/Debuggers
 Source0:       https://github.com/strace/strace/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 84f5e72de813c9b1bb6057ee8ab428d8
+# Source0-md5: 13a37bd709b452a7c30e89f0db39b535
 Source1:       %{name}.1.pl
+Patch0:                %{name}-binutils2.36.patch
 URL:           https://strace.io/
 # acl and libaio for headers only
 BuildRequires: acl-devel
@@ -104,6 +110,7 @@ Doda wtedy upływający czas dla każdego procesu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with libunwind}
@@ -115,7 +122,8 @@ CFLAGS="%{rpmcflags} -fPIE"
 %endif
 %configure \
        %{!?with_libiberty:--without-libiberty} \
-       %{!?with_libunwind:--without-libunwind}
+       %{!?with_libunwind:--without-libunwind} \
+        --enable-mpers=%{?with_mpers:yes}%{!?with_mpers:no}
 %{__make}
 
 %install
@@ -126,12 +134,14 @@ rm -rf $RPM_BUILD_ROOT
 
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/strace.1
 
+cp -p src/strace-graph $RPM_BUILD_ROOT%{_bindir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING CREDITS ChangeLog NEWS README-linux-ptrace
+%doc COPYING CREDITS ChangeLog NEWS doc/README-linux-ptrace
 %attr(755,root,root) %{_bindir}/strace
 %attr(755,root,root) %{_bindir}/strace-log-merge
 %{_mandir}/man1/strace.1*
This page took 0.080585 seconds and 4 git commands to generate.