- Only ghost /etc/alternatives on 12.3 or newer

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=47
This commit is contained in:
Sascha Peilicke 2013-11-15 12:17:49 +00:00 committed by Git OBS Bridge
parent c4d8a9803f
commit 7f26011c3f
2 changed files with 15 additions and 8 deletions

View File

@ -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

View File

@ -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,-)