Hello community, here is the log from the commit of package python-urllib3 for openSUSE:Factory checked in at 2015-10-19 22:51:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-urllib3 (Old) and /work/SRC/openSUSE:Factory/.python-urllib3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urllib3" Changes: -------- --- /work/SRC/openSUSE:Factory/python-urllib3/python-urllib3.changes 2015-10-08 08:25:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-urllib3.new/python-urllib3.changes 2015-10-20 00:05:10.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Oct 14 09:35:30 UTC 2015 - toddrme2...@gmail.com + +- Delete the system egg-info during pre phase: older versions of + the package installed it as a directory, the latest update + creates a file, and rpm has known issues with replacing this. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-urllib3.spec ++++++ --- /var/tmp/diff_new_pack.dPHJpL/_old 2015-10-20 00:05:11.000000000 +0200 +++ /var/tmp/diff_new_pack.dPHJpL/_new 2015-10-20 00:05:11.000000000 +0200 @@ -66,10 +66,17 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%pre +# previous versions of the package installed .egg-info as a directory, +# the new update now installs it as a file. Clean out the directory, should it exist. +if [ -d %{python_sitelib}/urllib3-%{version}-py*.egg-info ]; then + rm -rf %{python_sitelib}/urllib3-%{version}-py*.egg-info +fi + %files %defattr(-,root,root,-) %doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst %{python_sitelib}/urllib3 -%{python_sitelib}/urllib3-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/urllib3-%{version}-py*.egg-info %changelog