forked from pool/python-python-gammu
Accepting request 296788 from home:Nijel:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/296788 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
cc6931d357
commit
3bdd86a58c
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5a63462e589c60e4e4826b1e92f928ed5f16ab5f8926de1fbb72fce628f7cf1e
|
|
||||||
size 114891
|
|
3
python-gammu-2.1.tar.gz
Normal file
3
python-gammu-2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aa0035ba7ad15219e2488990cd08608a2530dfd1261084c41980fb3e367dd466
|
||||||
|
size 128814
|
@@ -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
|
Tue Apr 14 09:46:13 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-gammu
|
# 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
|
# 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
|
||||||
@@ -13,20 +13,22 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-python-gammu
|
Name: python-python-gammu
|
||||||
Version: 2.0
|
Version: 2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
License: GPL-2.0
|
|
||||||
Summary: Python module to communicate with mobile phones
|
Summary: Python module to communicate with mobile phones
|
||||||
Url: http://wammu.eu/python-gammu/
|
License: GPL-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
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-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: gammu-devel >= 1.34.0
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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)")}
|
%{!?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}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Temporary disabled, upstream did not include test data in tarball
|
# Need to limit tests due to brekage of libdbi
|
||||||
# python setup.py test
|
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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Reference in New Issue
Block a user