Hello community, here is the log from the commit of package sigil for openSUSE:Factory checked in at 2018-06-19 11:54:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sigil (Old) and /work/SRC/openSUSE:Factory/.sigil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sigil" Tue Jun 19 11:54:31 2018 rev:4 rq:615909 version:0.9.9 Changes: -------- --- /work/SRC/openSUSE:Factory/sigil/sigil.changes 2018-01-09 14:53:43.962284662 +0100 +++ /work/SRC/openSUSE:Factory/.sigil.new/sigil.changes 2018-06-19 11:54:35.806230067 +0200 @@ -1,0 +2,5 @@ +Mon Jun 11 06:06:22 UTC 2018 - ec...@opensuse.org + +- insert sigil-fix_deprecated_macro.patch to fix build error + +------------------------------------------------------------------- New: ---- sigil-fix_deprecated_macro.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sigil.spec ++++++ --- /var/tmp/diff_new_pack.qg9arv/_old 2018-06-19 11:54:37.006185516 +0200 +++ /var/tmp/diff_new_pack.qg9arv/_new 2018-06-19 11:54:37.010185367 +0200 @@ -20,7 +20,7 @@ Version: 0.9.9 Release: 0 Summary: WYSIWYG Ebook Editor -License: GPL-3.0 +License: GPL-3.0-only Group: Productivity/Other Url: http://sigil-ebook.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -29,6 +29,8 @@ Source2: %{name}.desktop # PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section Patch0: %{name}-gt-0.9.0-Dialogs-About.cpp.patch +# PATCH-FIX-OPENSUSE Change deprecated qt5_use_modules to target_link_libraries +Patch1: %{name}-fix_deprecated_macro.patch BuildRequires: boost-devel BuildRequires: cmake >= 3.0 BuildRequires: dos2unix @@ -88,6 +90,7 @@ %setup -q -n Sigil-%{version} sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt %patch0 -p 1 +%patch1 -p 1 %{__cp} -v %{S:1} . %{__cp} -v %{S:2} . # rpmlint ++++++ sigil-fix_deprecated_macro.patch ++++++ diff -Pdpru Sigil-0.9.9.orig/src/CMakeLists.txt Sigil-0.9.9/src/CMakeLists.txt --- Sigil-0.9.9.orig/src/CMakeLists.txt 2017-12-21 17:59:01.000000000 +0100 +++ Sigil-0.9.9/src/CMakeLists.txt 2018-06-11 08:04:01.700642771 +0200 @@ -684,7 +684,7 @@ if (MSVC) endif() target_link_libraries( ${PROJECT_NAME} ${QT_MAIN} ${HUNSPELL_LIBRARIES} ${PCRE_LIBRARIES} ${GUMBO_LIBRARIES} ${MINIZIP_LIBRARIES} ${PYTHON_LIBRARIES} ) -qt5_use_modules(${PROJECT_NAME} Widgets Xml XmlPatterns PrintSupport Svg WebKit WebKitWidgets Network Concurrent) +target_link_libraries(${PROJECT_NAME} Qt5::Widgets Qt5::Xml Qt5::XmlPatterns Qt5::PrintSupport Qt5::Svg Qt5::WebKit Qt5::WebKitWidgets Qt5::Network Qt5::Concurrent) #############################################################################