14
0
forked from pool/python-spidev

Accepting request 746301 from home:Guillaume_G:branches:hardware

Use tarball from github

OBS-URL: https://build.opensuse.org/request/show/746301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spidev?expand=0&rev=2
This commit is contained in:
2019-11-07 14:48:44 +00:00
committed by Git OBS Bridge
parent ccac4793f3
commit c936eb3cc1
4 changed files with 8 additions and 27 deletions

View File

@@ -27,8 +27,6 @@ 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
# LICENSE file missing from tarball - https://github.com/doceme/py-spidev/issues/89
Source1: https://raw.githubusercontent.com/doceme/py-spidev/master/LICENSE
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@@ -39,8 +37,7 @@ This package contains the python module for interfacing with SPI devices from us
%python_subpackages
%prep
%setup -q -n %{orig_name}-%{version}
cp %{SOURCE1} .
%setup -q -n py-spidev-%{version}
%build
%python_build