Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a758ba7b9e
!18 调整-Wcast-align指针强制转换参数
From: @laokz 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-05-09 02:52:27 +00:00
laokz
a93fc5df64 Backport upstream patch to fix cast-align error on some arches 2023-02-25 11:47:48 +08:00
openeuler-ci-bot
a1852cdcca
!16 Upgrade to version 0.3.9
From: @zhang__3125 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-02-03 08:32:42 +00:00
zhang__3125
3110605d15 Upgrade to version 0.3.9 2022-12-02 16:42:13 +08:00
openeuler-ci-bot
03efd9b694
!12 Package upgrade
From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-16 12:13:07 +00:00
lyn1001
fa353bd913 Package upgrade 2022-06-16 18:14:55 +08:00
openeuler-ci-bot
1ce897535f !6 modify yaml
Merge pull request !6 from huanghaitao/master
2020-06-30 14:25:21 +08:00
hht8
a4b08f6a7e modify yaml 2020-06-30 09:52:44 +08:00
openeuler-ci-bot
161f0f21e5 !5 fix test error and add yaml
Merge pull request !5 from huanghaitao/master
2020-05-25 20:17:30 +08:00
hht8
d1ea3828b4 fix test error and add yaml 2020-05-22 18:52:31 +08:00
6 changed files with 77 additions and 8 deletions

View File

@ -0,0 +1,21 @@
From 9e6a3086b0cdcd4a76374fc70bad84f1545a09d2 Mon Sep 17 00:00:00 2001
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
Date: Mon, 22 Aug 2022 15:08:46 -0300
Subject: [PATCH] Fix i18n generation
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
---
po/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/meson.build b/po/meson.build
index 86f82f9..e983464 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,2 +1,2 @@
i18n = import('i18n')
-i18n.gettext('govirt-1.0', preset : 'glib')
+i18n.gettext('libgovirt', preset : 'glib')
--
2.37.2

View File

@ -0,0 +1,28 @@
From bae26c0033d649722b5a3fc48df3adf2172490f1 Mon Sep 17 00:00:00 2001
From: Sprite <SpriteOvO@gmail.com>
Date: Tue, 6 Sep 2022 18:17:35 +0800
Subject: [PATCH] Suppress error 'cast increases required alignment of target
type'
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index d5c3627..43139af 100644
--- a/meson.build
+++ b/meson.build
@@ -61,9 +61,9 @@ govirt_global_cflags = ['-std=c99',
'-Wextra',
'-Werror',
'-Wcast-align',
+ '-Wno-error=cast-align',
'-Wmissing-declarations',
'-Wpointer-arith',
- '-Wcast-align',
'-Wwrite-strings',
'-Winit-self',
'-Wreturn-type',
--
GitLab

Binary file not shown.

BIN
libgovirt-0.3.9.tar.xz Normal file

Binary file not shown.

View File

@ -1,13 +1,16 @@
Name: libgovirt
Version: 0.3.4
Release: 10
Version: 0.3.9
Release: 2
Summary: A GObject-based library to access oVirt REST API
License: LGPLv2+
URL: http://people.freedesktop.org/~teuf/govirt/
URL: https://gitlab.gnome.org/GNOME/libgovirt
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgovirt/0.3/%{name}-%{version}.tar.xz
Patch1: 0001-Fix-i18n-generation.patch
Patch2: 0002-Suppress-cast-align-error.patch
BuildRequires: glib2-devel intltool rest-devel >= 0.7.92
BuildRequires: glib2-devel intltool rest-devel >= 0.9.1
BuildRequires: gobject-introspection-devel glib-networking dconf gnupg2
BuildRequires: meson
%description
GoVirt is a GObject wrapper for the oVirt REST API [1]. It will
@ -28,16 +31,16 @@ that use libgovirt.
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-introspection=yes
%make_build
%meson
%meson_build
%install
%make_install
%meson_install
%delete_la_and_a
%find_lang %{name} --with-gnome
%check
make check
%meson_test
%post
/sbin/ldconfig
@ -59,6 +62,18 @@ make check
%{_datadir}/gir-1.0/GoVirt-1.0.gir
%changelog
* Mon Feb 27 2023 laokz <zhangkai@iscas.ac.cn> - 0.3.9-2
- Backport upstream patch to fix cast-align error on some arches
* Fri Dec 2 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.3.9-1
- Upgrade to version 0.3.9
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.3.8-1
- Upgrade to version 0.3.8
* Fri May 22 2020 huanghaitao<huanghaitao8@huawei.com> - 0.3.4-11
- Update tests certificates to fix test error
* Fri Jan 10 2020 yangjian<yangjian79@huawei.com> - 0.3.4-10
- Change the Source to valid address

5
libgovirt.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/GNOME/libgovirt
version_control: github
src_repo: GNOME/libgovirt
tag_prefix: "^v"
seperator: "."