From d3433599fcc899faead5b41f1fd1615850756111820af05f12eb42d15a166e85 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 15 Nov 2013 13:34:32 +0000 Subject: [PATCH] - Only ghost /etc/alternatives on 12.3 or newer OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autopep8?expand=0&rev=10 --- python-autopep8.changes | 5 +++++ python-autopep8.spec | 2 ++ 2 files changed, 7 insertions(+) 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