Accepting request 632896 from home:frispete:python
- remove egg-info directory in %pretrans - fix egg-info directory pattern - match any version of egg-info for a certain python version OBS-URL: https://build.opensuse.org/request/show/632896 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=59
This commit is contained in:
parent
c6c369c6b1
commit
8983a2409c
@ -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/
|
||||
#
|
||||
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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/
|
||||
#
|
||||
|
||||
|
||||
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user