diff --git a/python-Sphinx.changes b/python-Sphinx.changes index ca88460..33451c2 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 15 12:17:12 UTC 2013 - speilicke@suse.com + +- Only ghost /etc/alternatives on 12.3 or newer + ------------------------------------------------------------------- Wed Nov 13 14:54:09 UTC 2013 - speilicke@suse.com diff --git a/python-Sphinx.spec b/python-Sphinx.spec index bfb6e74..6d0da85 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -139,31 +139,33 @@ fi %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE README.rst %ghost %{_bindir}/sphinx-apidoc -%ghost %{_sysconfdir}/alternatives/sphinx-apidoc %{_bindir}/sphinx-apidoc-%{py_ver} %ghost %{_bindir}/sphinx-autogen -%ghost %{_sysconfdir}/alternatives/sphinx-autogen %{_bindir}/sphinx-autogen-%{py_ver} %ghost %{_bindir}/sphinx-build -%ghost %{_sysconfdir}/alternatives/sphinx-build %{_bindir}/sphinx-build-%{py_ver} %ghost %{_bindir}/sphinx-quickstart -%ghost %{_sysconfdir}/alternatives/sphinx-quickstart %{_bindir}/sphinx-quickstart-%{py_ver} %ghost %{_mandir}/man1/sphinx-all.1.gz -%ghost %{_sysconfdir}/alternatives/sphinx-all.1.gz %{_mandir}/man1/sphinx-all-%{py_ver}.1.gz %ghost %{_mandir}/man1/sphinx-apidoc.1.gz -%ghost %{_sysconfdir}/alternatives/sphinx-apidoc.1.gz %{_mandir}/man1/sphinx-apidoc-%{py_ver}.1.gz %ghost %{_mandir}/man1/sphinx-build.1.gz -%ghost %{_sysconfdir}/alternatives/sphinx-build.1.gz %{_mandir}/man1/sphinx-build-%{py_ver}.1.gz %ghost %{_mandir}/man1/sphinx-quickstart.1.gz -%ghost %{_sysconfdir}/alternatives/sphinx-quickstart.1.gz %{_mandir}/man1/sphinx-quickstart-%{py_ver}.1.gz %{python_sitelib}/sphinx/ %{python_sitelib}/Sphinx-%{version}-py%{py_ver}.egg-info +%if 0%{?suse_version} >= 1230 +%ghost %{_sysconfdir}/alternatives/sphinx-apidoc +%ghost %{_sysconfdir}/alternatives/sphinx-autogen +%ghost %{_sysconfdir}/alternatives/sphinx-build +%ghost %{_sysconfdir}/alternatives/sphinx-quickstart +%ghost %{_sysconfdir}/alternatives/sphinx-all.1.gz +%ghost %{_sysconfdir}/alternatives/sphinx-apidoc.1.gz +%ghost %{_sysconfdir}/alternatives/sphinx-build.1.gz +%ghost %{_sysconfdir}/alternatives/sphinx-quickstart.1.gz +%endif %files doc %defattr(-,root,root,-)