diff --git a/libxml2.spec b/libxml2.spec index 0747133..29b0931 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,7 +1,7 @@ Summary: Library providing XML and HTML support Name: libxml2 Version: 2.6.17 -Release: 4 +Release: 5 License: MIT Group: Development/Libraries Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz @@ -67,22 +67,11 @@ at parse time or later once the document has been modified. # initial test spec. This really doesn't work okay for most tests done. # GCC_VERSION=`gcc --version | grep "^gcc" | awk '{ print $3 }' | sed 's+\([0-9]\)\.\([0-9]\)\..*+\1\2+'` -#if [ $GCC_VERSION -eq 32 ] -#then -# PROF_GEN='-fprofile-arcs' -# PROF_USE='-fbranch-probabilities' -#else if [ $GCC_VERSION -eq 33 ] -#then -# PROF_GEN='-fprofile-arcs' -# PROF_USE='-fbranch-probabilities -ftracer' -#else -if [ $GCC_VERSION -ge 34 ] +if [ $GCC_VERSION -eq 34 ] then PROF_GEN='-fprofile-generate' PROF_USE='-fprofile-use' fi -#fi -#fi if [ "$PROF_GEN" != "" ] then