forked from pool/python-six
- Do not cause buildcycle with previous change but rather
install the egg-info prepared metadata from the tarball OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=78
This commit is contained in:
parent
a5f1d364b0
commit
ba203ce937
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 10 07:53:50 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Do not cause buildcycle with previous change but rather
|
||||||
|
install the egg-info prepared metadata from the tarball
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 9 20:54:38 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Mon Mar 9 20:54:38 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ License: MIT
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: http://pypi.python.org/pypi/six/
|
URL: http://pypi.python.org/pypi/six/
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -80,6 +80,11 @@ cd documentation && make html && rm _build/html/.buildinfo
|
|||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
# add the setuptools egg-info directory
|
||||||
|
%{python_expand rm %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info
|
||||||
|
mkdir -p %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/
|
||||||
|
cp six.egg-info/* %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/
|
||||||
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user