Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package datovka for openSUSE:Factory checked 
in at 2022-02-09 22:04:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/datovka (Old)
 and      /work/SRC/openSUSE:Factory/.datovka.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "datovka"

Wed Feb  9 22:04:16 2022 rev:39 rq:952943 version:4.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/datovka/datovka.changes  2021-09-02 
23:20:42.140582471 +0200
+++ /work/SRC/openSUSE:Factory/.datovka.new.1898/datovka.changes        
2022-02-09 22:04:17.401623855 +0100
@@ -1,0 +2,21 @@
+Tue Feb  1 06:50:56 UTC 2022 - Jiri Slaby <[email protected]>
+
+- Update to 4.19.0
+ * Stored message envelope is updated when the type of a commercial message
+   changes (e.g. when consuming the prepaid answer).
+ * The application is downloading information about the state of the long term
+   storage. This build requires libdatovka-0.2.1.
+ * Messages which are going to be deleted from ISDS can be displayed using a
+   user-specified colour.
+ * Fixed a memory leak occurring while initialising the application.
+ * Fixed compilation when using GCC 11.
+ * Modified sources to compile with Qt-6.1 and Qt-6.2. Qt-6.0 still causes
+   compilation issues. (Qt-6.0 should be fixed instead.)
+ * Fixed a bug in a conversion function causing struct tm to Epoch time
+   conversion errors when converted value fits within an interval limited by
+   midnight and the time zone difference.
+ * Suppressed notification dialogues when uploading into records management
+   service as too many of them were generated occasionally.
+- switch to Qt6 on Tumbleweed
+
+-------------------------------------------------------------------

Old:
----
  datovka-4.18.0.tar.xz
  datovka-4.18.0.tar.xz.sha256

New:
----
  datovka-4.19.0.tar.xz
  datovka-4.19.0.tar.xz.sha256

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ datovka.spec ++++++
--- /var/tmp/diff_new_pack.mbp5HQ/_old  2022-02-09 22:04:19.589628621 +0100
+++ /var/tmp/diff_new_pack.mbp5HQ/_new  2022-02-09 22:04:19.593628630 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package datovka
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,18 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%define qt_version 6
+%define qt_version_full 6.2.0
+%define lrelease lrelease6
+%else
+%define qt_version 5
+%define qt_version_full 5.4.1
+%define lrelease lrelease-qt5
+%endif
+
 Name:           datovka
-Version:        4.18.0
+Version:        4.19.0
 Release:        0
 Summary:        Library to access Czech eGov system "Datove schranky"
 License:        GPL-3.0-or-later
@@ -27,26 +37,34 @@
 Source1:        
https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%{version}.tar.xz.sha256
 # PATCH-FIX-UPSTREAM: remove some issues with current .pro file
 Patch0:         datovka-fix-pro.patch
+%if 0%{qt_version} == 6
+BuildRequires:  qt6-tools-linguist
+%else
 BuildRequires:  libqt5-linguist
+%endif
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(Qt5Core) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5Gui) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5Network) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5PrintSupport) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5Sql) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5Svg) >= 5.2.0
-BuildRequires:  pkgconfig(Qt5Widgets) >= 5.2.0
+BuildRequires:  cmake(Qt%{qt_version}Core) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}Gui) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}Network) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}PrintSupport) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}Sql) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}Svg) >= %{qt_version_full}
+BuildRequires:  cmake(Qt%{qt_version}Widgets) >= %{qt_version_full}
 BuildRequires:  pkgconfig(libdatovka) >= 0.1.2
-Requires:       libqt5_sql_backend
+%if 0%{qt_version} == 6
+Requires:       qt6-sql-sqlite
+%else
+Requires:       libqt5-sql-sqlite
+%endif
 Recommends:     %{name}-lang
 # Included inside with different approach
 Obsoletes:      python-dslib
 %if 0%{?suse_version} < 1330
 Requires(post): hicolor-icon-theme
 Requires(post): update-desktop-files
-Requires(postun): hicolor-icon-theme
-Requires(postun): update-desktop-files
+Requires(postun):hicolor-icon-theme
+Requires(postun):update-desktop-files
 %endif
 
 %description
@@ -59,18 +77,33 @@
 %prep
 %autosetup -p1
 sed -i \
-    -e 's:lrelease:lrelease-qt5:g' \
+    -e 's:lrelease:%{lrelease}:g' \
     %{name}.pro
 
 %build
 export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-lrelease-qt5 datovka.pro
+%if 0%{qt_version} == 6
+export CXXFLAGS="-std=c++17 %{optflags}"
+%else
+export CXXFLAGS="-std=c++11 %{optflags}"
+%endif
+%{lrelease} datovka.pro
+%if 0%{qt_version} == 6
+# QMAKE_LIBS_LIBATOMIC= is only temporary to fix:
+# "Library 'libatomic' is not defined."
+%qmake6 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1 
QMAKE_LIBS_LIBATOMIC=
+%qmake6_build
+%else
 %qmake5 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
 %make_jobs
+%endif
 
 %install
+%if 0%{qt_version} == 6
+%qmake6_install
+%else
 %qmake5_install
+%endif
 
 # fix desktop file
 sed -i \
@@ -99,6 +132,7 @@
 %dir %{_datadir}/datovka/localisations/
 %{_datadir}/datovka/localisations/datovka_cs.qm
 %{_datadir}/datovka/localisations/datovka_en.qm
+%dir %{_datadir}/icons/hicolor/
 %{_datadir}/icons/hicolor/*
 
 %changelog

++++++ datovka-4.18.0.tar.xz -> datovka-4.19.0.tar.xz ++++++
++++ 17411 lines of diff (skipped)

++++++ datovka-4.18.0.tar.xz.sha256 -> datovka-4.19.0.tar.xz.sha256 ++++++
--- /work/SRC/openSUSE:Factory/datovka/datovka-4.18.0.tar.xz.sha256     
2021-09-02 23:20:42.132582461 +0200
+++ /work/SRC/openSUSE:Factory/.datovka.new.1898/datovka-4.19.0.tar.xz.sha256   
2022-02-09 22:04:17.369623785 +0100
@@ -1 +1 @@
-5d57112450532be66f1c14efaa909ab71c3c34e123a2201393cd0b144808d8ef
+14f27bb1f313ee818e1c4aaa246925b8f548918c70f351495df7c9385db27b6e

++++++ datovka-fix-pro.patch ++++++
--- /var/tmp/diff_new_pack.mbp5HQ/_old  2022-02-09 22:04:20.389630364 +0100
+++ /var/tmp/diff_new_pack.mbp5HQ/_new  2022-02-09 22:04:20.397630380 +0100
@@ -40,7 +40,7 @@
 -      -g -O0 -std=c++11 \
 -      -Wall -Wextra -pedantic \
 -      -Wdate-time -Wformat -Werror=format-security
-+      -g -std=c++11 $$(CXXFLAGS) \
++      -g $$(CXXFLAGS) \
 +      -Wall -Wextra -pedantic
  
  #INCLUDEPATH +=

Reply via email to