!10 fix install libqt5-ukui-style failed issue

From: @dou33
Reviewed-by: @tanyulong2021
Signed-off-by: @tanyulong2021
This commit is contained in:
openeuler-ci-bot 2021-10-22 02:45:06 +00:00 committed by Gitee
commit 558d6d538f
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,26 @@
From a4243af27423d085a875f24ef02ba998a0aef6b5 Mon Sep 17 00:00:00 2001
From: huayadong <huayadong@kylinos.cn>
Date: Fri, 4 Jun 2021 15:22:53 +0800
Subject: [PATCH] change libqt5-ukui-style Requires Qt5Widgets Version
restrictions
---
libqt5-ukui-style/development-files/qt5-ukui.pc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libqt5-ukui-style/development-files/qt5-ukui.pc b/libqt5-ukui-style/development-files/qt5-ukui.pc
index 6c41464..6e9ae5a 100755
--- a/libqt5-ukui-style/development-files/qt5-ukui.pc
+++ b/libqt5-ukui-style/development-files/qt5-ukui.pc
@@ -1,7 +1,7 @@
Name: libqt5-ukui-style
Description: UKUI style API for secondary development.
Home Page: https://github.com/ukui/qt5-ukui-platformtheme
-Requires: Qt5Widgets >= 5.12.1 glib-2.0 gio-2.0 gsettings-qt
+Requires: Qt5Widgets glib-2.0 gio-2.0 gsettings-qt
Version: 1.0.0
Libs: -L/usr/lib -L/usr/lib/x86_64-linux-gnu -lqt5-ukui-style
Cflags: -I/usr/include/qt5-ukui
--
2.27.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: qt5-ukui-platformtheme
Version: 1.0.5
Release: 1
Release: 2
Summary: Qt5 QPA platform theme of UKUI
License: LGPL-3.0+ GPL-3.0+
URL: http://www.ukui.org
@ -18,10 +18,11 @@ BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qtchooser
Requires: libqt5-ukui-style1
Requires: qt5-styles-ukui
patch0: 0001-change-libqt5-ukui-style-Requires-Qt5Widgets-Version.patch
%description
qt5-ukui-platformtheme is official platform theme of UKUI desktop
environment. It also provides the common metadatas for ukui-styles
@ -81,6 +82,7 @@ Provides: libqt5-ukui-style
%prep
%setup -q
%patch0 -p1
%build
mkdir build && cd build
@ -124,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
* Thu Oct 21 2021 douyan<douyan@kylinos.cn> - 1.0.5-2
- add patch0: 0001-change-libqt5-ukui-style-Requires-Qt5Widgets-Version.patch
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 1.0.5-1
- update to upstream version 1.0.4-1+1027.1