From 62ed81c06b8f221c10f5bc27e8c69f4ad334e957211c7cd0c128bd0e7ac173de Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Tue, 28 Jul 2020 09:24:15 +0000 Subject: [PATCH] Accepting request 823093 from home:mcalabkova:branches:devel:languages:python - Update to 3.5 * Fixed memory leaks OBS-URL: https://build.opensuse.org/request/show/823093 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spidev?expand=0&rev=4 --- python-spidev.changes | 6 ++++++ python-spidev.spec | 16 ++++++---------- spidev-3.4.tar.gz | 3 --- spidev-3.5.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 spidev-3.4.tar.gz create mode 100644 spidev-3.5.tar.gz diff --git a/python-spidev.changes b/python-spidev.changes index 680741c..e5aa40f 100644 --- a/python-spidev.changes +++ b/python-spidev.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 28 08:43:38 UTC 2020 - Marketa Calabkova + +- Update to 3.5 + * Fixed memory leaks + ------------------------------------------------------------------- Thu Nov 7 14:25:22 UTC 2019 - Guillaume GARDET diff --git a/python-spidev.spec b/python-spidev.spec index fab3491..34ca216 100644 --- a/python-spidev.spec +++ b/python-spidev.spec @@ -1,7 +1,7 @@ # # spec file for package python-spidev # -# 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,27 +17,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - -%define orig_name spidev - Name: python-spidev -Version: 3.4 +Version: 3.5 Release: 0 Summary: Python module for interfacing with SPI devices License: MIT -Url: https://pypi.org/project/spidev/ -Source0: https://github.com/doceme/py-spidev/archive/v%{version}.tar.gz#/%{orig_name}-%{version}.tar.gz +URL: https://pypi.org/project/spidev/ +Source0: https://files.pythonhosted.org/packages/source/s/spidev/spidev-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +%python_subpackages %description This package contains the python module for interfacing with SPI devices from user space via the spidev linux kernel driver. -%python_subpackages - %prep -%setup -q -n py-spidev-%{version} +%setup -q -n spidev-%{version} %build %python_build diff --git a/spidev-3.4.tar.gz b/spidev-3.4.tar.gz deleted file mode 100644 index 5bff837..0000000 --- a/spidev-3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b72553a942105a0b92306622a7fcde16ac276ffb3433129754019efe5e8b19c7 -size 10276 diff --git a/spidev-3.5.tar.gz b/spidev-3.5.tar.gz new file mode 100644 index 0000000..8f71615 --- /dev/null +++ b/spidev-3.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a7f5c289f161ea2ac4697fa8a10918232c990678dd0053084b3c43b1363910d +size 10866