Hello community, here is the log from the commit of package python-pyscard for openSUSE:Factory checked in at 2017-05-16 14:46:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyscard (Old) and /work/SRC/openSUSE:Factory/.python-pyscard.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyscard" Tue May 16 14:46:03 2017 rev:3 rq:494936 version:1.9.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyscard/python-pyscard.changes 2015-12-03 13:31:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyscard.new/python-pyscard.changes 2017-05-16 14:46:57.307955599 +0200 @@ -1,0 +2,6 @@ +Fri May 5 12:07:38 UTC 2017 - t.gru...@katodev.de + +- Update to version 1.9.5 (Feb 2017) +- single spec for python 2 and python 3 + +------------------------------------------------------------------- Old: ---- pyscard-1.9.0.tar.gz New: ---- pyscard-1.9.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyscard.spec ++++++ --- /var/tmp/diff_new_pack.j8Wror/_old 2017-05-16 14:46:57.843880305 +0200 +++ /var/tmp/diff_new_pack.j8Wror/_new 2017-05-16 14:46:57.847879743 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyscard # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,24 +17,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname pyscard Name: python-pyscard -Version: 1.9.0 +Version: 1.9.5 Release: 0 Summary: Python module adding smart card support License: LGPL-2.0+ Group: Development/Languages/Python Url: http://pyscard.sourceforge.net/ Source: %{modname}-%{version}.tar.gz +BuildRequires: %{python_module base} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: pcsc-lite-devel BuildRequires: pkg-config -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: swig -BuildRequires: pkgconfig(python) >= 2.7 Requires: pcsc-ccid BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages %description Python-pyscard consists of smartcard.scard, an extension module wrapping @@ -49,13 +53,13 @@ %build export CFLAGS="%{optflags}" -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES -%fdupes %{buildroot} +%python_install +%fdupes -s %{buildroot} -%files +%files %{python_files} %defattr(-,root,root,-) %doc ACKS ChangeLog doc LICENSE PKG-INFO README TODO %{python_sitearch}/* ++++++ pyscard-1.9.0.tar.gz -> pyscard-1.9.5.tar.gz ++++++ ++++ 3576 lines of diff (skipped)