diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f55a09c..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Stephen Caudle - -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. diff --git a/python-spidev.changes b/python-spidev.changes index deadff9..680741c 100644 --- a/python-spidev.changes +++ b/python-spidev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 7 14:25:22 UTC 2019 - Guillaume GARDET + +- Uses tarball from github which includes the license file + ------------------------------------------------------------------- Wed Nov 6 14:13:06 UTC 2019 - Guillaume GARDET diff --git a/python-spidev.spec b/python-spidev.spec index 7b114d1..fab3491 100644 --- a/python-spidev.spec +++ b/python-spidev.spec @@ -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 diff --git a/spidev-3.4.tar.gz b/spidev-3.4.tar.gz index a0bcb5d..5bff837 100644 --- a/spidev-3.4.tar.gz +++ b/spidev-3.4.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4314e52f573d95233c907f307558893313a8a606e197e77bb711526b0e179e80 -size 10222 +oid sha256:b72553a942105a0b92306622a7fcde16ac276ffb3433129754019efe5e8b19c7 +size 10276