switch to github sources
PyPI doesn't provide half of the real package. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
14a14e2c5d
commit
4afa238e54
@ -14,8 +14,8 @@ Epoch: 1
|
||||
Summary: Built-package format for Python
|
||||
|
||||
License: MIT
|
||||
URL: https://bitbucket.org/pypa/wheel
|
||||
Source0: https://files.pythonhosted.org/packages/source/%(n=%{pypi_name}; echo ${n:0:1})/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
URL: https://github.com/pypa/wheel
|
||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
# Latest version of wheel requires the package keyrings.alt in order for the tests to pass,
|
||||
@ -75,10 +75,9 @@ Python 3 version.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypi_name}-%{version}
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
# remove unneeded shebangs
|
||||
sed -ie '1d' %{pypi_name}/{egg2wheel,wininst2wheel}.py
|
||||
%patch0 -p1
|
||||
|
||||
|
||||
%build
|
||||
@ -118,22 +117,20 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
|
||||
%if %{with python2}
|
||||
%files -n python2-%{pypi_name}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.txt README.txt
|
||||
%doc CHANGES.txt README.rst
|
||||
%{_bindir}/%{pypi_name}
|
||||
%{_bindir}/%{pypi_name}-2
|
||||
%{_bindir}/%{pypi_name}-%{python2_version}
|
||||
%{python2_sitelib}/%{pypi_name}*
|
||||
%exclude %{python2_sitelib}/%{pypi_name}/test
|
||||
%endif
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.txt README.txt
|
||||
%doc CHANGES.txt README.rst
|
||||
%{_bindir}/%{pypi_name}-3
|
||||
%{_bindir}/%{pypi_name}-%{python3_version}
|
||||
%{python3_sitelib}/%{pypi_name}*
|
||||
%exclude %{python3_sitelib}/%{pypi_name}/test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (wheel-0.30.0.tar.gz) = d39fb683ca2937745b057464ec17f5fab0475c2b1225cc4c84f1b0e8cd61a4bb039730dafdaa687f7b054ce080c4b7acbd3196045db14e015585536fcf498f84
|
||||
SHA512 (wheel-0.30.0.tar.gz) = e7828923dcbd82d8cc3d122d112b19cb10a09857497afa558dfcbda6ee6a252efa5db6fcc1b54a79df9f8ed42b3035d0413a66620eebca39210513d7e6f2b807
|
||||
|
Loading…
Reference in New Issue
Block a user