From: Roland McGrath Date: Thu, 28 Aug 2008 23:26:21 +0000 (+0000) Subject: 2008-08-28 Roland McGrath X-Git-Tag: v4.5.19~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f0dbe2d474c5f3c280d14f2b5407dd8631f7401;p=strace 2008-08-28 Roland McGrath * strace.spec (%ifarch %{strace64_arches}): Use cp -p instead of ln for %{rhel} < 6. --- diff --git a/strace.spec b/strace.spec index 335b26d9..3dd8f0f4 100644 --- a/strace.spec +++ b/strace.spec @@ -55,8 +55,15 @@ make DESTDIR=%{buildroot} install # remove unpackaged files from the buildroot rm -f %{buildroot}%{_bindir}/strace-graph +%define copy64 ln +%if 0%{?rhel} +%if 0%{?rhel} < 6 +%endif +%define copy64 cp -p +%endif + %ifarch %{strace64_arches} -ln %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64 +%{copy64} %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64 %endif %clean