diff --git a/expat.changes b/expat.changes index 6b91c4f..3ba4528 100644 --- a/expat.changes +++ b/expat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 7 14:32:27 UTC 2017 - jayvdb@gmail.com + +- Allow building when do_profiling is undefined + ------------------------------------------------------------------- Tue Jul 11 15:02:55 UTC 2017 - mpluskal@suse.com diff --git a/expat.spec b/expat.spec index df8165a..cf725e9 100644 --- a/expat.spec +++ b/expat.spec @@ -69,7 +69,7 @@ rm -f examples/*.dsp %configure \ --disable-silent-rules \ --disable-static -%if %{do_profiling} +%if 0%{?do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check make clean