| |
@@ -7,12 +7,11 @@
|
| |
|
| |
License: ASL 2.0
|
| |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
| |
- Source0: https://pypi.python.org/packages/source/w/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
| |
- # License is not yet included in the pypi release
|
| |
+ # Use GitHub archive to get Cython sources
|
| |
+ Source0: https://github.com/methane/wsaccel/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
| |
+ # License is not yet included in the 0.6.2 tag
|
| |
Source1: https://github.com/methane/wsaccel/blob/master/LICENSE
|
| |
- # Tests are not included in pypi release. Tests from the 0.6 tag don't work,
|
| |
- # get them from master instead.
|
| |
- # See: https://github.com/methane/wsaccel/issues/11
|
| |
+ # Tests from the 0.6.2 tag don't work, get them from master instead.
|
| |
SOURCE2: https://raw.githubusercontent.com/methane/wsaccel/master/tests/test_4.py
|
| |
|
| |
%description
|
| |
@@ -39,7 +38,6 @@
|
| |
%prep
|
| |
%setup -qn %{pypi_name}-%{version}
|
| |
cp -a %{SOURCE1} .
|
| |
- mkdir tests
|
| |
cp -a %{SOURCE2} tests/
|
| |
|
| |
|
| |
This is needed for Python 3.8.