From 50d6a7685e29403a0c3cfa4e2f95b68808b0c0b4 Mon Sep 17 00:00:00 2001 From: Dave Love Date: May 07 2016 12:33:13 +0000 Subject: Have cube require matching cube-libs - Don't do network check for new version --- diff --git a/cube-nocheck.patch b/cube-nocheck.patch new file mode 100644 index 0000000..b3532fb --- /dev/null +++ b/cube-nocheck.patch @@ -0,0 +1,12 @@ +---cube-4.3.4/src/GUI-qt/display/VersionCheckWidget.cpp~ 2016-04-03 00:05:37.942066948 +0100 ++++cube-4.3.4/src/GUI-qt/display/VersionCheckWidget.cpp 2016-05-06 16:17:27.684217301 +0100 +@@ -52,7 +52,8 @@ + url = QUrl( UPDATE_CHECK_URL ); + download = NULL; + update_Available = false; +- bool no_http = env_str2bool( getenv( "CUBE_DISABLE_HTTP_DOCS" ) ); ++ // bool no_http = env_str2bool( getenv( "CUBE_DISABLE_HTTP_DOCS" ) ); ++ bool no_http = true; + if ( !no_http ) + { + updateDescription = tr( "Check for update is not performed yet." ); diff --git a/cube.spec b/cube.spec index 509d07b..ed3ee3b 100644 --- a/cube.spec +++ b/cube.spec @@ -1,16 +1,18 @@ Name: cube Version: 4.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CUBE Uniform Behavioral Encoding generic presentation component License: BSD URL: http://www.scalasca.org/software/cube-4.x/download.html Source0: http://apps.fz-juelich.de/scalasca/releases/cube/4.3/dist/cube-%{version}.tar.gz - +# disable check for new versions +Patch1: cube-nocheck.patch BuildRequires: dbus-devel BuildRequires: qt4-devel BuildRequires: chrpath BuildRequires: desktop-file-utils +Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description CUBE (CUBE Uniform Behavioral Encoding) is a generic presentation component @@ -51,6 +53,7 @@ The %{name}-doc package contains documentation for %{name}. %prep %setup -q +%patch1 -p1 %build @@ -225,6 +228,10 @@ fi %changelog +* Thu May 5 2016 Dave Love - 4.3.4-2 +- Have cube require matching cube-libs +- Don't do network check for new version + * Wed May 4 2016 Dave Love - 4.3.4-1 - Update to 4.3.4 - Adjust for desktop and module files removed from distribution