Hello community, here is the log from the commit of package webkitgtk for openSUSE:Factory checked in at 2018-03-09 10:42:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/webkitgtk (Old) and /work/SRC/openSUSE:Factory/.webkitgtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "webkitgtk" Fri Mar 9 10:42:21 2018 rev:50 rq:582923 version:2.4.11 Changes: -------- --- /work/SRC/openSUSE:Factory/webkitgtk/webkitgtk.changes 2018-01-23 13:53:02.585463689 +0100 +++ /work/SRC/openSUSE:Factory/.webkitgtk.new/webkitgtk.changes 2018-03-09 10:42:24.643722661 +0100 @@ -1,0 +2,12 @@ +Wed Feb 28 16:40:59 UTC 2018 - [email protected] + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Wed Feb 28 16:17:42 UTC 2018 - [email protected] + +- Introduce LOCAL_OPT_FLAGS to be altered, instead of modifying + directly RPM_OPT_FLAGS: avoids spec-cleaner to replace our + variable with the stock optflags macro. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webkitgtk.spec ++++++ --- /var/tmp/diff_new_pack.gBLHWm/_old 2018-03-09 10:42:25.899677429 +0100 +++ /var/tmp/diff_new_pack.gBLHWm/_new 2018-03-09 10:42:25.899677429 +0100 @@ -31,9 +31,9 @@ Version: 2.4.11 Release: 0 Summary: Library for rendering web content, GTK+ Port -License: LGPL-2.0+ AND BSD-3-Clause +License: LGPL-2.0-or-later AND BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://webkitgtk.org/ +URL: http://webkitgtk.org/ Source: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE webkitgtk-typelib-sharelib-link.patch [email protected] -- Fixup the .gir file to contain the full library name for libjavascriptcore. @@ -239,15 +239,16 @@ mkdir -p DerivedSources/Platform %build +LOCAL_OPT_FLAGS="%{optflags}" if [ $(gcc -dumpversion | awk -F. '{print $1}') -ge 6 ]; then # Remove this GCC6 optimization to fix several runtime issues (e.g. boo#987596) - RPM_OPT_FLAGS+=" -fno-delete-null-pointer-checks " + LOCAL_OPT_FLAGS+=" -fno-delete-null-pointer-checks " fi %ifarch ppc64 ppc64le -RPM_OPT_FLAGS+=" -mminimal-toc " +LOCAL_OPT_FLAGS+=" -mminimal-toc " %endif -%ifarch %arm ppc ppc64 ppc64le s390 s390x -RPM_OPT_FLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads " +%ifarch %{arm} ppc ppc64 ppc64le s390 s390x +LOCAL_OPT_FLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads " %endif #Needed for patch2 @@ -258,11 +259,11 @@ # No debug builds.... We run out of about everything with -O2 -g (the .ar becomes > 4.3GB) # Do not use %%optflags here - as RPM_OPT_FLAGS has been adjusted already higher up -export CFLAGS="$RPM_OPT_FLAGS -g0" -export CXXFLAGS="$RPM_OPT_FLAGS -g0" +export CFLAGS="$LOCAL_OPT_FLAGS -g0" +export CXXFLAGS="$LOCAL_OPT_FLAGS -g0" # Use CPPFLAGS to disable jit, webkit#113638 -%ifarch %arm ppc ppc64 ppc64le s390 s390x +%ifarch %{arm} ppc ppc64 ppc64le s390 s390x export CPPFLAGS="-DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0" %endif @@ -279,37 +280,33 @@ make %{?_smp_mflags} %install -%makeinstall +%make_install %find_lang WebKitGTK-%{_gtkver} %{no_lang_C} -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %post -n libwebkitgtk%{_sover} -p /sbin/ldconfig %postun -n libwebkitgtk%{_sover} -p /sbin/ldconfig - %post -n libjavascriptcoregtk%{_sover} -p /sbin/ldconfig %postun -n libjavascriptcoregtk%{_sover} -p /sbin/ldconfig %files -n libwebkitgtk%{_sover} -%defattr(-,root,root) -%doc Source/WebCore/LICENSE-APPLE Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1 Source/WebKit/LICENSE Source/WebKit/gtk/NEWS +%license Source/WebCore/LICENSE-APPLE Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1 Source/WebKit/LICENSE +%doc Source/WebKit/gtk/NEWS %{_libdir}/libwebkitgtk-%{_sonamever}.so.* %{_datadir}/webkitgtk-%{_sonamever}/ %files -n libjavascriptcoregtk%{_sover} -%defattr(-, root, root) -%doc Source/JavaScriptCore/COPYING.LIB Source/WebKit/gtk/NEWS +%license Source/JavaScriptCore/COPYING.LIB +%doc Source/WebKit/gtk/NEWS %{_libdir}/libjavascriptcoregtk-%{_sonamever}.so.* %files -n typelib-1_0-WebKit-%{_sonameverpkg} -%defattr(-,root,root) %{_libdir}/girepository-1.0/WebKit-%{_sonamever}.typelib %files -n typelib-1_0-JavaScriptCore-%{_sonameverpkg} -%defattr(-,root,root) %{_libdir}/girepository-1.0/JavaScriptCore-%{_sonamever}.typelib %files -n libwebkitgtk%{?_develnamever}-devel -%defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/%{name}/ %doc %{_datadir}/gtk-doc/html/webkitdomgtk%{?_develnamever} %{_libdir}/libjavascriptcoregtk-%{_sonamever}.so @@ -326,7 +323,6 @@ %endif %files -n webkit-jsc-%{_jscver} -%defattr(-,root,root) %{_bindir}/jsc-%{_jscver} %files -n %{_pkgname_no_slpp}-lang -f WebKitGTK-%{_gtkver}.lang
