Compare commits

..

No commits in common. "a758ba7b9e1fe7ea7e079703002b505bc9b350ea" and "5e8cc3b3dce79895c62cde72a314286861b5456a" have entirely different histories.

6 changed files with 8 additions and 77 deletions

View File

@ -1,21 +0,0 @@
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

@ -1,28 +0,0 @@
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

BIN
libgovirt-0.3.4.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,13 @@
Name: libgovirt Name: libgovirt
Version: 0.3.9 Version: 0.3.4
Release: 2 Release: 10
Summary: A GObject-based library to access oVirt REST API Summary: A GObject-based library to access oVirt REST API
License: LGPLv2+ License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libgovirt URL: http://people.freedesktop.org/~teuf/govirt/
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgovirt/0.3/%{name}-%{version}.tar.xz 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.9.1 BuildRequires: glib2-devel intltool rest-devel >= 0.7.92
BuildRequires: gobject-introspection-devel glib-networking dconf gnupg2 BuildRequires: gobject-introspection-devel glib-networking dconf gnupg2
BuildRequires: meson
%description %description
GoVirt is a GObject wrapper for the oVirt REST API [1]. It will GoVirt is a GObject wrapper for the oVirt REST API [1]. It will
@ -31,16 +28,16 @@ that use libgovirt.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson %configure --enable-introspection=yes
%meson_build %make_build
%install %install
%meson_install %make_install
%delete_la_and_a %delete_la_and_a
%find_lang %{name} --with-gnome %find_lang %{name} --with-gnome
%check %check
%meson_test make check
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -62,18 +59,6 @@ that use libgovirt.
%{_datadir}/gir-1.0/GoVirt-1.0.gir %{_datadir}/gir-1.0/GoVirt-1.0.gir
%changelog %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 * Fri Jan 10 2020 yangjian<yangjian79@huawei.com> - 0.3.4-10
- Change the Source to valid address - Change the Source to valid address

View File

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