diff --git a/python-gammu-2.0.tar.gz b/python-gammu-2.0.tar.gz deleted file mode 100644 index 9b03641..0000000 --- a/python-gammu-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a63462e589c60e4e4826b1e92f928ed5f16ab5f8926de1fbb72fce628f7cf1e -size 114891 diff --git a/python-gammu-2.1.tar.gz b/python-gammu-2.1.tar.gz new file mode 100644 index 0000000..ae74336 --- /dev/null +++ b/python-gammu-2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa0035ba7ad15219e2488990cd08608a2530dfd1261084c41980fb3e367dd466 +size 128814 diff --git a/python-python-gammu.changes b/python-python-gammu.changes index efea274..ccde4dc 100644 --- a/python-python-gammu.changes +++ b/python-python-gammu.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Apr 15 07:36:48 UTC 2015 - mcihar@suse.cz + +- Update to 2.1: + * Include data required for tests in tarball. + * Include NEWS.rst in tarball. + * Fixed possible crash when changing debug file. + * Fixed various errors found by coverity. +- Enabled testsuite + ------------------------------------------------------------------- Tue Apr 14 09:46:13 UTC 2015 - mcihar@suse.cz diff --git a/python-python-gammu.spec b/python-python-gammu.spec index c16763f..b19c873 100644 --- a/python-python-gammu.spec +++ b/python-python-gammu.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gammu # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -13,20 +13,22 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-python-gammu -Version: 2.0 +Version: 2.1 Release: 0 -License: GPL-2.0 Summary: Python module to communicate with mobile phones -Url: http://wammu.eu/python-gammu/ +License: GPL-2.0 Group: Development/Languages/Python +Url: http://wammu.eu/python-gammu/ Source: https://pypi.python.org/packages/source/p/python-gammu/python-gammu-%{version}.tar.gz +BuildRequires: gammu-devel >= 1.34.0 +BuildRequires: libdbi-drivers-dbd-sqlite3 +BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: python-setuptools -BuildRequires: gammu-devel >= 1.34.0 -BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -46,8 +48,15 @@ CFLAGS="%{optflags}" python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -# Temporary disabled, upstream did not include test data in tarball -# python setup.py test +# Need to limit tests due to brekage of libdbi +python setup.py test \ + -s test.test_errors \ + -s test.test_config \ + -s test.test_dummy \ + -s test.test_sms \ + -s test.test_worker \ + -s test.test_backup \ + -s test.test_data %files %defattr(-,root,root,-)