--- /dev/null
+--- domoticz-2020.2/main/domoticz.cpp.orig 2020-04-26 15:49:25.000000000 +0200
++++ domoticz-2020.2/main/domoticz.cpp 2021-04-10 16:50:37.189198278 +0200
+@@ -152,7 +152,7 @@
+ bool g_bRunAsDaemon = false;
+ bool g_bDontCacheWWW = false;
+ http::server::_eWebCompressionMode g_wwwCompressMode = http::server::WWW_USE_GZIP;
+-bool g_bUseUpdater = true;
++bool g_bUseUpdater = false;
+ http::server::server_settings webserver_settings;
+ #ifdef WWW_ENABLE_SSL
+ http::server::ssl_server_settings secure_webserver_settings;
+@@ -649,7 +649,7 @@
+ sleep_seconds(DelaySeconds);
+ }
+ else if (szFlag == "updates") {
+- g_bUseUpdater = GetConfigBool(sLine);
++ //g_bUseUpdater = GetConfigBool(sLine);
+ }
+ else if (szFlag == "php_cgi_path") {
+ webserver_settings.php_cgi_path = sLine;
Patch4: boost-1.73.patch
Patch5: %{name}-gpio.patch
Patch6: python3.9.patch
+Patch7: %{name}-no_updates.patch
BuildRequires: boost-devel >= 1.66.0
BuildRequires: cereal-devel
BuildRequires: cmake >= 3.16.0
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
APPVERSION="%{version}"
echo "#define APPVERSION ${APPVERSION##*.}" > appversion.h