Compare commits
10 Commits
5e8cc3b3dc
...
a758ba7b9e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a758ba7b9e | ||
|
|
a93fc5df64 | ||
|
|
a1852cdcca | ||
|
|
3110605d15 | ||
|
|
03efd9b694 | ||
|
|
fa353bd913 | ||
|
|
1ce897535f | ||
|
|
a4b08f6a7e | ||
|
|
161f0f21e5 | ||
|
|
d1ea3828b4 |
21
0001-Fix-i18n-generation.patch
Normal file
21
0001-Fix-i18n-generation.patch
Normal 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
|
||||
|
||||
28
0002-Suppress-cast-align-error.patch
Normal file
28
0002-Suppress-cast-align-error.patch
Normal 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
BIN
libgovirt-0.3.9.tar.xz
Normal file
Binary file not shown.
@ -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
5
libgovirt.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/GNOME/libgovirt
|
||||
version_control: github
|
||||
src_repo: GNOME/libgovirt
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user