diff --git a/python-autopep8.changes b/python-autopep8.changes index b844560..2f8ea99 100644 --- a/python-autopep8.changes +++ b/python-autopep8.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 15 13:34:19 UTC 2013 - speilicke@suse.com + +- Only ghost /etc/alternatives on 12.3 or newer + ------------------------------------------------------------------- Tue Nov 5 16:23:01 UTC 2013 - speilicke@suse.com diff --git a/python-autopep8.spec b/python-autopep8.spec index fd4a3ae..e5024f8 100644 --- a/python-autopep8.spec +++ b/python-autopep8.spec @@ -75,7 +75,9 @@ fi %defattr(-,root,root,-) %doc README.rst %ghost %{_bindir}/autopep8 +%if 0%{?suse_version} >= 1230 %ghost %{_sysconfdir}/alternatives/autopep8 +%endif %{_bindir}/autopep8-%{py_ver} %{python_sitelib}/autopep8.py* %{python_sitelib}/autopep8-%{version}-py%{py_ver}.egg-info