diff --git a/python-six.spec b/python-six.spec index 0bf1ef1..88f9cf2 100644 --- a/python-six.spec +++ b/python-six.spec @@ -70,7 +70,7 @@ python test_six.py %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}/six-%{version}-py%{py_ver}.egg-info; then +if [ -d %{python_sitelib}/six-%{version}-py%{py_ver}.egg-info ]; then rm -rf %{python_sitelib}/six-%{version}-py%{py_ver}.egg-info fi