From 5de89ff592eda833fb96d0ff07062d6553666a697e5d89d49b16bc94c4cb5ee3 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 24 Feb 2012 10:38:16 +0000 Subject: [PATCH] Accepting request 106771 from home:vuntz:branches:devel:languages:python Add missing BuildRequires; note that it doesn't build because of a bug in xorg packages (bnc#748808) OBS-URL: https://build.opensuse.org/request/show/106771 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtkey?expand=0&rev=7 --- python-virtkey.changes | 8 ++++++++ python-virtkey.spec | 13 ++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/python-virtkey.changes b/python-virtkey.changes index 90ac810..1758cb1 100644 --- a/python-virtkey.changes +++ b/python-virtkey.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 24 09:31:30 UTC 2012 - vuntz@opensuse.org + +- Add explicit pkgconfig(x11) and pkgconfig(xtst) BuildRequires: + those are needed after the xorg-x11 packaging change. +- Change glib2-devel and gtk2-devel BuildRequires to the real + pkgconfig() dependencies for this package: gdk-2.0 and glib-2.0. + ------------------------------------------------------------------- Sat Jul 2 19:46:16 CEST 2011 - vuntz@opensuse.org diff --git a/python-virtkey.spec b/python-virtkey.spec index ffec034..22c57dd 100644 --- a/python-virtkey.spec +++ b/python-virtkey.spec @@ -1,7 +1,7 @@ # # spec file for package python-virtkey # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -24,16 +23,20 @@ Name: python-%{mod_name} Version: 0.60.0 -Release: 1 +Release: 0 Url: https://launchpad.net/virtkey Summary: Python extension to emulate keypresses -License: LGPLv3+ +License: LGPL-3.0+ Group: Development/Languages/Python Source: python-%{mod_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel +BuildRequires: python-devel +BuildRequires: pkgconfig(gdk-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xtst) %if 0%{?suse_version} %py_requires %endif