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}"