forked from pool/python-python-gammu
Accepting request 819188 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/819188 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gammu?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efca72146ef5a5f9c7e7763374f28a3f15c6e80a0b7f07ce4fda52863b0cd4d2
|
||||
size 119731
|
3
python-gammu-3.0.tar.bz2
Normal file
3
python-gammu-3.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2b2c316a279b30f4d0bb5e8f7e4e36362449ce82d772b615e5bf3e55c152c23
|
||||
size 121776
|
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 7 09:29:13 UTC 2020 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- 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
|
||||
|
||||
|
@@ -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}"
|
||||
|
Reference in New Issue
Block a user