diff --git a/bzip2.spec b/bzip2.spec index 9abed04..17cb901 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -88,8 +88,8 @@ autoreconf -fiv --disable-static %if %{do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check - make test + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" test + make clean make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" %else make %{?_smp_mflags} CFLAGS="%{optflags}"