!17 [sync] PR-16: upgrade to version 5.5.22

From: @openeuler-sync-bot 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
This commit is contained in:
openeuler-ci-bot 2023-08-23 03:00:13 +00:00 committed by Gitee
commit 7691d6f981
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 6 additions and 14 deletions

Binary file not shown.

View File

@ -1,24 +1,14 @@
%global soname dframeworkdbus
%global repo dde-qt-dbus-factory
%if 0%{?fedora}
Name: deepin-qt-dbus-factory
%else
Name: dde-qt-dbus-factory
%endif
Version: 5.4.21
Version: 5.5.22
Release: 1%{?fedora:%dist}
Summary: A repository stores auto-generated Qt5 dbus code
# The entire source code is GPLv3+ except
# libdframeworkdbus/qtdbusextended/ which is LGPLv2+
License: GPLv3+ and LGPLv2+
%if 0%{?fedora}
URL: https://github.com/linuxdeepin/dde-qt-dbus-factory
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
%else
URL: http://shuttle.corp.deepin.com/cache/repos/eagle/release-candidate/56qX566h6IGU6LCD5rWL6K-V6aqM6K-BMDUyMTQ5Mg/pool/main/d/dde-qt-dbus-factory/
Source0: %{name}_%{version}.orig.tar.xz
%endif
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3
BuildRequires: pkgconfig(gl)
@ -40,9 +30,8 @@ Requires: cmake-filesystem
Header files and libraries for %{name}.
%prep
%autosetup -p1 -n %{repo}-%{version}
%autosetup -p1 -n %{name}-%{version}
sed -i "s/env python$/env python3/g" libdframeworkdbus/generate_code.py
sed -i "s/python/python3/g" libdframeworkdbus/libdframeworkdbus.pro
%build
%qmake_qt5 LIB_INSTALL_DIR=%{_libdir}
@ -63,6 +52,9 @@ sed -i "s/python/python3/g" libdframeworkdbus/libdframeworkdbus.pro
%{_libdir}/cmake/DFrameworkdbus/
%changelog
* Mon Jul 31 2023 leeffo <liweiganga@uniontech.com> - 5.5.22-1
- upgrade to version 5.5.22
* Mon Mar 27 2023 liweiganga <liweiganga@uniontech.com> - 5.4.21-1
- update: update to 5.4.21