commit python-virtkey for openSUSE:Factory
Hello community, here is the log from the commit of package python-virtkey for openSUSE:Factory checked in at 2017-09-04 12:33:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-virtkey (Old) and /work/SRC/openSUSE:Factory/.python-virtkey.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-virtkey" Mon Sep 4 12:33:49 2017 rev:16 rq:520057 version:0.63.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-virtkey/python-virtkey.changes 2013-01-17 10:19:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-virtkey.new/python-virtkey.changes 2017-09-04 12:33:51.520298873 +0200 @@ -1,0 +2,5 @@ +Thu Aug 24 13:57:00 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -67,0 +73 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-virtkey.spec ++++++ --- /var/tmp/diff_new_pack.y4SX6l/_old 2017-09-04 12:33:52.768123425 +0200 +++ /var/tmp/diff_new_pack.y4SX6l/_new 2017-09-04 12:33:52.788120613 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-virtkey # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,54 +16,47 @@ # -%define mod_name virtkey -%define build_for_python3 0 - -%if %{build_for_python3} -%define local_python python3 -%else -%define local_python python -%endif - -Name: python-%{mod_name} +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-virtkey Version: 0.63.0 +%define major 0.63 Release: 0 -Url: https://launchpad.net/virtkey Summary: Python extension to emulate keypresses License: LGPL-3.0+ Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: https://launchpad.net/virtkey +Source: https://launchpad.net/virtkey/%{major}/%{version}/+download/virtkey-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: glib2-devel BuildRequires: gtk2-devel -%if %{build_for_python3} -BuildRequires: python3-devel -BuildRequires: python3-distribute -%else -BuildRequires: python-devel -%endif +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(gdk-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(xtst) +%python_subpackages %description python-virtkey is a python extension for emulating keypresses and getting the keyboard geometry from the xserver. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n virtkey-%{version} %build export CFLAGS="%{optflags}" -%{local_python} setup.py build +%python_build %install -%{local_python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +%python_install -%files -f INSTALLED_FILES +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS COPYING.LESSER NEWS README +%{python_sitearch}/virtkey*.so +%{python_sitearch}/virtkey-%{version}-py*.egg-info %changelog
participants (1)
-
root@hilbert.suse.de