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:
parent
5d72bc9df7
commit
0969f4d191
@ -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
|
Sun Jun 18 12:34:28 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ Name: python-gobject
|
|||||||
%define _name pygobject
|
%define _name pygobject
|
||||||
Summary: Python bindings for GObject
|
Summary: Python bindings for GObject
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Version: 3.25.1
|
Version: 3.25.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://wiki.gnome.org/Projects/PyGObject/
|
Url: https://wiki.gnome.org/Projects/PyGObject/
|
||||||
@ -57,8 +57,8 @@ GLib's GObjects.
|
|||||||
|
|
||||||
|
|
||||||
%package Gdk
|
%package Gdk
|
||||||
Summary: Python bindings for GObject -- Gdk bindings
|
Summary: Python bindings for GObject/Gdk
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{version}
|
Requires: %{name}-cairo = %{version}
|
||||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgdk-3.so -f))
|
%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
|
%package cairo
|
||||||
Summary: Python bindings for GObject -- Cairo bindings
|
Summary: Python bindings for GObject/Cairo
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
Supplements: packageand(python-gobject:%{cairo_real_package})
|
Supplements: packageand(python-gobject:%{cairo_real_package})
|
||||||
@ -85,10 +85,9 @@ GLib's GObjects.
|
|||||||
This package contains the Python Cairo bindings for GObject.
|
This package contains the Python Cairo bindings for GObject.
|
||||||
|
|
||||||
|
|
||||||
# Dummy wrapper file to pull in all Python-version-specific dependencies
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Python bindings for GObject -- development files
|
Summary: Metapackage to pull in all of python-gobject's packages
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-Gdk = %{version}
|
Requires: %{name}-Gdk = %{version}
|
||||||
Requires: %{name}-cairo = %{version}
|
Requires: %{name}-cairo = %{version}
|
||||||
@ -101,8 +100,8 @@ addon libraries such as pygtk.
|
|||||||
|
|
||||||
|
|
||||||
%package -n %{name}-common-devel
|
%package -n %{name}-common-devel
|
||||||
Summary: Python bindings for GObject -- shared development files
|
Summary: Shared development files for GObject's Python bindings
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{python_module gobject-devel = %{version}}
|
Requires: %{python_module gobject-devel = %{version}}
|
||||||
Requires: glib2-devel >= 2.38.0
|
Requires: glib2-devel >= 2.38.0
|
||||||
Requires: gnome-common
|
Requires: gnome-common
|
||||||
@ -132,8 +131,7 @@ pushd build_%{$python_bin_suffix}
|
|||||||
|
|
||||||
export PYTHON=$python
|
export PYTHON=$python
|
||||||
%configure
|
%configure
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
make %{?jobs:-j%jobs} V=1
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
@ -154,9 +152,8 @@ popd
|
|||||||
find %{buildroot}%{_prefix} -name GIMarshallingTests.py* -delete -print
|
find %{buildroot}%{_prefix} -name GIMarshallingTests.py* -delete -print
|
||||||
|
|
||||||
rm examples/Makefile*
|
rm examples/Makefile*
|
||||||
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
||||||
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
%fdupes %{buildroot}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user