From 15eaf0222caf797864a0300246d73345142bd6d4127b68b39f5f47add24fd5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 7 Jul 2020 10:20:22 +0000 Subject: [PATCH] Accepting request 819181 from home:ecsos - Update to 3.0 - Add support for asyncio in the gammu worker - Dropped support for Python 2. - Fix rpmlint errors. - Run spec-cleaner. - version update to 2.12 * meta and doc changes - convert to singlespec - Update to 2.11 * Add support for the USSD in SMSD. - Update to 2.10 * Testsuite compatibility with Gammu 1.38.5. - Update to 2.8 * Make parameters to CancelCall and AnswerCall optional. * Added support for UTF-16 Unicode chars (emojis). - Update to 2.7 * Compatibility with Gammu >= 1.37.90 - change source url to url that work - Update to 2.5: * Compatibility with Gammu >= 1.36.7 - Update to 2.4: * Fixed possible crash when initializing SMSD with invalid parameters. * Fixed crash on handling diverts on certain architectures. - Update to 2.3: * License changed tp GPL version 2 or later. * Documentation improvements. - update to 2.2 * Documentation improvements. * Code cleanups. - Add Obsoletes/Provides to handle upgrade path for python-gammu - 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 - Initial packaging, upstream has split Python module from Gammu sources OBS-URL: https://build.opensuse.org/request/show/819181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=19 --- python-gammu-2.12.tar.bz2 | 3 --- python-gammu-3.0.tar.bz2 | 3 +++ python-python-gammu.changes | 10 +++++++++- python-python-gammu.spec | 8 +++++--- 4 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 python-gammu-2.12.tar.bz2 create mode 100644 python-gammu-3.0.tar.bz2 diff --git a/python-gammu-2.12.tar.bz2 b/python-gammu-2.12.tar.bz2 deleted file mode 100644 index 9beaf7e..0000000 --- a/python-gammu-2.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efca72146ef5a5f9c7e7763374f28a3f15c6e80a0b7f07ce4fda52863b0cd4d2 -size 119731 diff --git a/python-gammu-3.0.tar.bz2 b/python-gammu-3.0.tar.bz2 new file mode 100644 index 0000000..785d3ed --- /dev/null +++ b/python-gammu-3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2b2c316a279b30f4d0bb5e8f7e4e36362449ce82d772b615e5bf3e55c152c23 +size 121776 diff --git a/python-python-gammu.changes b/python-python-gammu.changes index e0452b2..b340e05 100644 --- a/python-python-gammu.changes +++ b/python-python-gammu.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jul 7 09:29:13 UTC 2020 - ecsos + +- Update to 3.0 + - Add support for asyncio in the gammu worker + - Dropped support for Python 2. +- Fix rpmlint errors. +- Run spec-cleaner. + ------------------------------------------------------------------- Thu May 9 07:55:14 UTC 2019 - pgajdos@suse.com @@ -69,4 +78,3 @@ Wed Apr 15 07:36:48 UTC 2015 - mcihar@suse.cz Tue Apr 14 09:46:13 UTC 2015 - mcihar@suse.cz - Initial packaging, upstream has split Python module from Gammu sources - diff --git a/python-python-gammu.spec b/python-python-gammu.spec index d7d6e65..150e536 100644 --- a/python-python-gammu.spec +++ b/python-python-gammu.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gammu # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-python-gammu -Version: 2.12 +Version: 3.0 Release: 0 Summary: Python module to communicate with mobile phones License: GPL-2.0-or-later Group: Development/Languages/Python -URL: http://wammu.eu/python-gammu/ +URL: https://wammu.eu/python-gammu/ Source: https://dl.cihar.com/python-gammu/python-gammu-%{version}.tar.bz2 BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -41,6 +42,7 @@ supports - many Nokias, Siemens, Alcatel, ... %prep %setup -q -n python-gammu-%{version} +find . -type f -name "*.py" -exec sed -i -e 's|\/usr\/bin\/env python|\/usr\/bin\/python|g' {} \; %build export CFLAGS="%{optflags}"