SHA256
1
0
forked from pool/python-six

Accepting request 668762 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/668762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-six?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2019-01-28 19:47:18 +00:00 committed by Git OBS Bridge
commit 1c3dcd0d75
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jan 25 19:43:33 UTC 2019 - Neal Gompa <ngompa13@gmail.com>
- Change %pretrans back to %pre to fix bootstrap issue (boo#1123064)
-------------------------------------------------------------------
Thu Jan 17 11:31:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Require just base python module, even full python is too much
and it is not required here
-------------------------------------------------------------------
Mon Dec 10 09:20:52 CET 2018 - mcepl@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-six
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,10 +38,9 @@ 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 base}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2
BuildRequires: python3
%if %{with test}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py}
@ -97,7 +96,8 @@ popd
rm -rf test
%endif
%pretrans
%pre
# boo#1123064 - change back to pre scriptlet - if needed as pretrans, write in lua
# bsc#1057496 - egg-info changed from directory to file
if [ -d %{python_sitelib}/six-*-py%{python_version}.egg-info ]; then
rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info