Accepting request 522358 from home:jengelh:branches:GNOME:Factory

- Update package summaries. Fix RPM groups and do not run fdupes
  across hardlink partitions.

OBS-URL: https://build.opensuse.org/request/show/522358
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=86
This commit is contained in:
Dominique Leuenberger 2017-09-08 20:33:31 +00:00 committed by Git OBS Bridge
parent 5d72bc9df7
commit 0969f4d191
2 changed files with 18 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -26,7 +26,7 @@ Name: python-gobject
%define _name pygobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Group: Development/Languages/Python
Version: 3.25.1
Release: 0
Url: https://wiki.gnome.org/Projects/PyGObject/
@ -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,9 +152,8 @@ 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)