!26 update to 5.8.20.1

From: @leeffo 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
openeuler-ci-bot 2023-04-07 09:31:52 +00:00 committed by Gitee
commit 0e0c541643
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,26 @@
From bbbbe0a6f69f7ca4fba2275963fca948988feb2f Mon Sep 17 00:00:00 2001
From: Super User <root@localhost.localdomain>
Date: Mon, 27 Mar 2023 14:14:37 +0800
Subject: [PATCH] fix build error
---
tests/third-party_stub/stub.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/third-party_stub/stub.h b/tests/third-party_stub/stub.h
index 76d6606..79bf963 100644
--- a/tests/third-party_stub/stub.h
+++ b/tests/third-party_stub/stub.h
@@ -16,6 +16,8 @@
#include <cstring>
//c++
#include <map>
+#include <iostream>
+using namespace std;
#define ADDR(CLASS_NAME,MEMBER_NAME) (&CLASS_NAME::MEMBER_NAME)
--
2.39.1

View File

@ -7,20 +7,21 @@
%endif
Name: dde-calendar
Version: 5.8.10
Version: 5.8.20.1
Release: %{specrelease}
Summary: Calendar is a smart daily planner to schedule all things in life
License: GPLv3
URL: https://github.com/linuxdeepin/dde-calendarr
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-fix-build-error.patch
BuildRequires: cmake
BuildRequires: qt5-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: dtkgui-devel
BuildRequires: dtkwidget-devel
BuildRequires: deepin-gettext-tools
#BuildRequires: deepin-gettext-tools
BuildRequires: pkgconfig(dframeworkdbus)
BuildRequires: gtest-devel
BuildRequires: gmock
@ -29,13 +30,13 @@ BuildRequires: gmock
%{summary}.
%prep
%autosetup
%autosetup -p1
%build
export PATH=%{_qt5_bindir}:$PATH
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
mkdir build && pushd build
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version} -DCMAKE_SCHEDULE_PLUGIN_OFF="OFF"
%make_build
popd
@ -55,6 +56,9 @@ popd
/usr/lib/deepin-daemon/dde-calendar-service
%changelog
* Mon Mar 27 2023 liweiganga <liweiganga@uniontech.com> - 5.8.20.1-1
- update: update to 5.8.20.1
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.8.10-1
- update to 5.8.10