From a03e9aa1fb0ae1b882da60ce9b756c86ca96153b Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Tue, 27 May 2014 15:08:56 +0200 Subject: [PATCH] Don't own the -3 scripts by python 2 package Conflicts: python-sphinx.spec --- python-sphinx.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index efe29de..39157bf 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -9,7 +9,7 @@ Name: python-sphinx Version: 1.1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python documentation generator Group: Development/Tools @@ -176,6 +176,7 @@ pushd %{py3dir} for f in %{buildroot}%{_bindir}/sphinx-*; do mv $f $f-%{python3_version} + ln -s %{_bindir}/`basename $f-%{python3_version}` $f-3 done popd %endif # with_python3 @@ -235,6 +236,7 @@ popd %files -f sphinx.lang %defattr(-,root,root,-) %doc AUTHORS CHANGES EXAMPLES LICENSE README TODO +%exclude %{_bindir}/sphinx-*-3 %exclude %{_bindir}/sphinx-*-%{python3_version} %{_bindir}/sphinx-* %{python_sitelib}/* @@ -247,6 +249,7 @@ popd %if 0%{?with_python3} %files -n python3-sphinx %doc AUTHORS CHANGES EXAMPLES LICENSE README TODO +%{_bindir}/sphinx-*-3 %{_bindir}/sphinx-*-%{python3_version} %{python3_sitelib}/* %dir %{_datadir}/sphinx/ @@ -261,6 +264,10 @@ popd %changelog +* Thu May 22 2014 Bohuslav Kabrda - 1.1.3-9 +- Add sphinx-*-3 links to scripts +Resolves: #1098109 + * Sun Aug 04 2013 Fedora Release Engineering - 1.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild