14
0

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
This commit is contained in:
Sascha Peilicke
2012-02-24 10:38:16 +00:00
committed by Git OBS Bridge
parent 987ff20d7b
commit 5de89ff592
2 changed files with 16 additions and 5 deletions

View File

@@ -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 Sat Jul 2 19:46:16 CEST 2011 - vuntz@opensuse.org

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-virtkey # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # 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_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)")} %{!?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} Name: python-%{mod_name}
Version: 0.60.0 Version: 0.60.0
Release: 1 Release: 0
Url: https://launchpad.net/virtkey Url: https://launchpad.net/virtkey
Summary: Python extension to emulate keypresses Summary: Python extension to emulate keypresses
License: LGPLv3+ License: LGPL-3.0+
Group: Development/Languages/Python Group: Development/Languages/Python
Source: python-%{mod_name}-%{version}.tar.gz Source: python-%{mod_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gtk2-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} %if 0%{?suse_version}
%py_requires %py_requires
%endif %endif