From bd2ea5cf07e2ab7b1d9ab32ce0f1d7504cf9eea938861fbe55453f471b824817 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 2 Oct 2011 08:26:35 +0000 Subject: [PATCH] Accepting request 85758 from devel:languages:python Small tweak to python3-gobject2 packaging OBS-URL: https://build.opensuse.org/request/show/85758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject2?expand=0&rev=7 --- python-gobject2.changes | 9 +++++++++ python-gobject2.spec | 4 ++-- python3-gobject2.changes | 9 +++++++++ python3-gobject2.spec | 6 +++--- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/python-gobject2.changes b/python-gobject2.changes index 6ced943..9da708c 100644 --- a/python-gobject2.changes +++ b/python-gobject2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 30 08:25:18 UTC 2011 - vuntz@opensuse.org + +- Update python3-gobject2 packaging: + + Use %{python3_sitearch} now that it's defined, instead of our + own custom macro. + + Change python3 Requires to python(abi) = %py3_ver, which is + saner. + ------------------------------------------------------------------- Wed Aug 24 11:40:27 UTC 2011 - dimstar@opensuse.org diff --git a/python-gobject2.spec b/python-gobject2.spec index 631ca99..a2712e9 100644 --- a/python-gobject2.spec +++ b/python-gobject2.spec @@ -20,8 +20,8 @@ %define build_for_python3 0 %if %{build_for_python3} -%define local_py_requires Requires: python3 -%define local_py_sitedir %{_libdir}/python3.1/site-packages +%define local_py_requires Requires: python(abi) = %py3_ver +%define local_py_sitedir %{python3_sitearch} %else %define local_py_requires %{py_requires} %define local_py_sitedir %{py_sitedir} diff --git a/python3-gobject2.changes b/python3-gobject2.changes index 6ced943..9da708c 100644 --- a/python3-gobject2.changes +++ b/python3-gobject2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 30 08:25:18 UTC 2011 - vuntz@opensuse.org + +- Update python3-gobject2 packaging: + + Use %{python3_sitearch} now that it's defined, instead of our + own custom macro. + + Change python3 Requires to python(abi) = %py3_ver, which is + saner. + ------------------------------------------------------------------- Wed Aug 24 11:40:27 UTC 2011 - dimstar@opensuse.org diff --git a/python3-gobject2.spec b/python3-gobject2.spec index 3abd0cb..776a7b7 100644 --- a/python3-gobject2.spec +++ b/python3-gobject2.spec @@ -20,8 +20,8 @@ %define build_for_python3 1 %if %{build_for_python3} -%define local_py_requires Requires: python3 -%define local_py_sitedir %{_libdir}/python3.1/site-packages +%define local_py_requires Requires: python(abi) = %py3_ver +%define local_py_sitedir %{python3_sitearch} %else %define local_py_requires %{py_requires} %define local_py_sitedir %{py_sitedir} @@ -31,7 +31,7 @@ Name: python3-gobject2 %define _name pygobject Summary: Python bindings for GObject Version: 2.28.6 -Release: 3 +Release: 6 License: LGPLv2.1+ Group: Development/Libraries/Python Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/