On Thu, 2010-06-24 at 11:32 -0300, Arnaldo Carvalho de Melo wrote:
Em Thu, Jun 24, 2010 at 09:44:50AM -0400, Adam Jackson escreveu:
> On Tue, 2010-06-22 at 17:37 -0700, Roland McGrath wrote:
> > %package -n perf
> > Summary: Performance monitoring for the Linux kernel
> > Group: Development/System
> > License: GPLv2
> > +%if %{with_perftool}
> > +Requires: kernel-perf(%{_arch}) >= %{version}-%{release}
> > +%endif
>
> Oughtn't this be:
>
> Requires: kernel-perf%{_isa} >= %{version}-%{release}
The version-release part shouldn't be there, backward compatibility is a
goal, so one can use an arbitrary perf binary with an arbitrary kernel.
I was more commenting that %{_arch} is x86_64 but %{_isa} is (x86-64).
Only the latter sort are automatically generated by rpm.
- ajax