Accepting request 534285 from devel:languages:python
- remove egg-info directory before installation if it exists, because setuptools produce directory and six switched to distutils that produce a file (and because rpm can't handle that by itself) fixes bsc#1057496 OBS-URL: https://build.opensuse.org/request/show/534285 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-six?expand=0&rev=27
This commit is contained in:
commit
7c214e975c
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 16:49:50 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- remove egg-info directory before installation if it exists,
|
||||
because setuptools produce directory and six switched to distutils
|
||||
that produce a file
|
||||
(and because rpm can't handle that by itself)
|
||||
fixes bsc#1057496
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 28 07:47:18 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
@ -59,6 +59,12 @@ what is provided.
|
||||
# %check
|
||||
# python test_six.py
|
||||
|
||||
%pre
|
||||
# bsc#1057496 - egg-info changed from directory to file
|
||||
if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then
|
||||
rm -r %{python_sitelib}/six-%{version}-%{python_version}.egg-info
|
||||
fi
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README.rst CHANGES
|
||||
|
Loading…
x
Reference in New Issue
Block a user