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:
21
LICENSE
21
LICENSE
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2019 Stephen Caudle <stephen@caudle.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 14:25:22 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Uses tarball from github which includes the license file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 6 14:13:06 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Wed Nov 6 14:13:06 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@@ -27,8 +27,6 @@ Summary: Python module for interfacing with SPI devices
|
|||||||
License: MIT
|
License: MIT
|
||||||
Url: https://pypi.org/project/spidev/
|
Url: https://pypi.org/project/spidev/
|
||||||
Source0: https://github.com/doceme/py-spidev/archive/v%{version}.tar.gz#/%{orig_name}-%{version}.tar.gz
|
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 devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -39,8 +37,7 @@ This package contains the python module for interfacing with SPI devices from us
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{orig_name}-%{version}
|
%setup -q -n py-spidev-%{version}
|
||||||
cp %{SOURCE1} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:4314e52f573d95233c907f307558893313a8a606e197e77bb711526b0e179e80
|
oid sha256:b72553a942105a0b92306622a7fcde16ac276ffb3433129754019efe5e8b19c7
|
||||||
size 10222
|
size 10276
|
||||||
|
Reference in New Issue
Block a user