Accepting request 523664 from GNOME:Factory

Update to 3.26.0 (forwarded request 523622 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/523664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=68
This commit is contained in:
Dominique Leuenberger 2017-09-13 19:54:57 +00:00 committed by Git OBS Bridge
commit fd8cf51523
4 changed files with 44 additions and 22 deletions

View File

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

3
pygobject-3.26.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7411acd600c8cb6f00d2125afa23303f2104e59b83e0a4963288dbecc3b029fa
size 773544

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Sep 12 09:27:07 UTC 2017 - dimstar@opensuse.org
- Update to version 3.26.0:
+ Closure: silence a new compiler warning.
+ Make sure version information passed to require_version is a
string (bgo#781582).
+ Test fixes.
-------------------------------------------------------------------
Fri Sep 8 16:15:16 UTC 2017 - jengelh@inai.de
- Update package summaries. Fix RPM groups and do not run fdupes
across hardlink partitions.
-------------------------------------------------------------------
Sun Jun 18 12:34:28 UTC 2017 - dimstar@opensuse.org
- Update to version 3.25.1:
+ Bugs fixed: bgo#663068, bgo#667959, bgo#686835, bgo#698548,
bgo#699440, bgo#707196, bgo#712197, bgo#726484, bgo#730908,
bgo#735076, bgo#735206, bgo#744690, bgo#746564, bgo#759009,
bgo#759276, bgo#762176, bgo#769789, bgo#772896, bgo#772949,
bgo#773394, bgo#773803, bgo#777713, bgo#777719, bgo#780396,
bgo#780409, bgo#780591, bgo#780652, bgo#780768, bgo#780812.
-------------------------------------------------------------------
Thu May 18 20:15:06 UTC 2017 - dimstar@opensuse.org

View File

@ -26,15 +26,15 @@ Name: python-gobject
%define _name pygobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Version: 3.24.1
Group: Development/Languages/Python
Version: 3.26.0
Release: 0
Url: https://wiki.gnome.org/Projects/PyGObject/
Source: http://download.gnome.org/sources/pygobject/3.24/%{_name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/pygobject/3.26/%{_name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4
Patch1: pycompile-searchpath.patch
BuildRequires: %{python_module cairo >= 1.11.1}
BuildRequires: %{python_module cairo-devel}
BuildRequires: %{python_module cairo}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -57,8 +57,8 @@ GLib's GObjects.
%package Gdk
Summary: Python bindings for GObject -- Gdk bindings
Group: Development/Libraries/Python
Summary: Python bindings for GObject/Gdk
Group: Development/Languages/Python
Requires: %{name} = %{version}
Requires: %{name}-cairo = %{version}
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgdk-3.so -f))
@ -72,8 +72,8 @@ This package contains the Python Gdk bindings for GObject.
%package cairo
Summary: Python bindings for GObject -- Cairo bindings
Group: Development/Libraries/Python
Summary: Python bindings for GObject/Cairo
Group: Development/Languages/Python
Requires: %{name} = %{version}
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
Supplements: packageand(python-gobject:%{cairo_real_package})
@ -85,10 +85,9 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
# Dummy wrapper file to pull in all Python-version-specific dependencies
%package devel
Summary: Python bindings for GObject -- development files
Group: Development/Libraries/Python
Summary: Metapackage to pull in all of python-gobject's packages
Group: Development/Languages/Python
Requires: %{name} = %{version}
Requires: %{name}-Gdk = %{version}
Requires: %{name}-cairo = %{version}
@ -101,8 +100,8 @@ addon libraries such as pygtk.
%package -n %{name}-common-devel
Summary: Python bindings for GObject -- shared development files
Group: Development/Libraries/Python
Summary: Shared development files for GObject's Python bindings
Group: Development/Languages/Python
Requires: %{python_module gobject-devel = %{version}}
Requires: glib2-devel >= 2.38.0
Requires: gnome-common
@ -132,8 +131,7 @@ pushd build_%{$python_bin_suffix}
export PYTHON=$python
%configure
make %{?jobs:-j%jobs} V=1
make %{?_smp_mflags} V=1
popd
}
@ -154,16 +152,14 @@ popd
find %{buildroot}%{_prefix} -name GIMarshallingTests.py* -delete -print
rm examples/Makefile*
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%fdupes %{buildroot}
find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
%fdupes %{buildroot}/%{_prefix}
%files %{python_files}
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc examples/
%{python_sitearch}/gi/
%{python_sitearch}/*.egg-info
# Lives in cairo subpackage
%exclude %{python_sitearch}/gi/_gi_cairo*.so
# Lives in Gdk subpackage