Accepting request 29742 from GNOME:Factory

Copy from GNOME:Factory/json-glib based on submit request 29742 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/29742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-glib?expand=0&rev=5
This commit is contained in:
OBS User autobuild 2010-01-18 13:04:32 +00:00 committed by Git OBS Bridge
parent 98a3d1169b
commit a904485791
5 changed files with 13 additions and 31 deletions

3
json-glib-0.10.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:029b700f1ad0960bb4954944357fe8b516487860d43fbe56853dce44fc114a64
size 415877

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39853e17800659adc888761bf296ee6851dfa646f97a2cd639b130a271e34c67
size 415837

View File

@ -1,22 +0,0 @@
Index: json-glib-0.9.2/json-glib/json-gobject.c
===================================================================
--- json-glib-0.9.2.orig/json-glib/json-gobject.c
+++ json-glib-0.9.2/json-glib/json-gobject.c
@@ -503,7 +503,7 @@ json_deserialize_pspec (GValue *valu
case G_TYPE_ENUM:
{
- gint enum_value;
+ gint enum_value = 0;
if (G_VALUE_HOLDS (&node_value, G_TYPE_INT64))
{
@@ -524,7 +524,7 @@ json_deserialize_pspec (GValue *valu
case G_TYPE_FLAGS:
{
- gint flags_value;
+ gint flags_value = 0;
if (G_VALUE_HOLDS (&node_value, G_TYPE_INT64))
{

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jan 2 16:10:03 CET 2010 - vuntz@opensuse.org
- Update to version 0.10.0:
+ Build fixes.
- Drop json-glib-fix-build.patch: fixed upstream.
-------------------------------------------------------------------
Sun Dec 27 01:38:37 CET 2009 - vuntz@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package json-glib (Version 0.9.2)
# spec file for package json-glib (Version 0.10.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@ -19,15 +19,13 @@
Name: json-glib
Version: 0.9.2
Version: 0.10.0
Release: 1
Summary: Library for JavaScript Object Notation format
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Url: http://live.gnome.org/JsonGlib
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM json-glib-fix-build.patch vuntz@opensuse.org -- Fix warnings causing errors during build
Patch0: json-glib-fix-build.patch
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -88,7 +86,6 @@ json-glib library.
%prep
%setup -q
%patch0 -p1
%build
%configure