SHA256
1
0
forked from pool/python-six

Accepting request 632909 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/632909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-six?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2018-09-05 11:44:33 +00:00 committed by Git OBS Bridge
commit e7e388a098
3 changed files with 18 additions and 6 deletions

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Sep 3 15:37:13 UTC 2018 - Hans-Peter Jansen <hpj@urpla.net>
- remove egg-info directory in %pretrans
- fix egg-info directory pattern
- match any version of egg-info for a certain python version
-------------------------------------------------------------------
Sat Aug 18 09:08:38 UTC 2018 - Matěj Cepl <mcepl@suse.com>
- Break the cycilical dependency on python-setuptools.
-------------------------------------------------------------------
Fri Aug 10 13:07:30 UTC 2018 - tchvatal@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -25,7 +25,7 @@ License: MIT
Group: Development/Libraries/Python
URL: http://pypi.python.org/pypi/six/
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module base}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@ -52,10 +52,10 @@ what is provided.
# %check
# python test_six.py
%pre
%pretrans
# bsc#1057496 - egg-info changed from directory to file
if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then
rm -rf %{python_sitelib}/six-%{version}-%{python_version}.egg-info
if [ -d %{python_sitelib}/six-*-py%{python_version}.egg-info ]; then
rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info
fi
%files %{python_files}