diff --git a/python-six-doc.spec b/python-six-doc.spec index 089167f..66126a3 100644 --- a/python-six-doc.spec +++ b/python-six-doc.spec @@ -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/ # diff --git a/python-six.changes b/python-six.changes index 47e699f..b324cd0 100644 --- a/python-six.changes +++ b/python-six.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 3 15:37:13 UTC 2018 - Hans-Peter Jansen + +- 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 diff --git a/python-six.spec b/python-six.spec index cb58faa..ec8945a 100644 --- a/python-six.spec +++ b/python-six.spec @@ -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}