diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index f033327..665e229 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + ## NOTE: Lots of files in various subdirectories have the same name (such as ## "LICENSE") so this short macro allows us to distinguish them by using their ## directory names (from the source tree) as prefixes for the files. @@ -184,8 +186,6 @@ rm -rf Source/ThirdParty/qunit/ %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %endif -mkdir -p %{_target_platform} -pushd %{_target_platform} %cmake \ -GNinja \ -DPORT=GTK \ @@ -196,15 +196,14 @@ pushd %{_target_platform} %if 0%{?fedora} -DUSER_AGENT_BRANDING="Fedora" \ %endif - .. -popd + %{nil} # Show the build time in the status export NINJA_STATUS="[%f/%t][%e] " -%ninja_build -C %{_target_platform} +%cmake_build %install -%ninja_install -C %{_target_platform} +%cmake_install %find_lang WebKit2GTK-4.0 @@ -275,7 +274,7 @@ export NINJA_STATUS="[%f/%t][%e] " %{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ %changelog -* Wed July 01 2020 Jeff Law - 2.29.2-2 +* Wed Jul 01 2020 Jeff Law - 2.29.2-2 - Disable LTO * Wed Jun 24 2020 Michael Catanzaro - 2.29.2-1