[python-sphinx] Add python-*-3 links to scripts
Bohuslav Kabrda
bkabrda at fedoraproject.org
Tue May 27 09:21:51 UTC 2014
commit 05583324a954c3c5b17c7d4e77c1234ac9e45d9c
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Tue May 27 11:21:38 2014 +0200
Add python-*-3 links to scripts
Resolves: #1098109
python-sphinx.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/python-sphinx.spec b/python-sphinx.spec
index af03b01..34fcc2e 100644
--- a/python-sphinx.spec
+++ b/python-sphinx.spec
@@ -9,7 +9,7 @@
Name: python-sphinx
Version: 1.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Python documentation generator
Group: Development/Tools
@@ -179,6 +179,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
@@ -249,6 +250,7 @@ popd
%if 0%{?with_python3}
%files -n python3-sphinx
%doc AUTHORS CHANGES EXAMPLES LICENSE README.rst TODO
+%{_bindir}/sphinx-*-3
%{_bindir}/sphinx-*-%{python3_version}
%{python3_sitelib}/*
%dir %{_datadir}/sphinx/
@@ -262,6 +264,10 @@ popd
%changelog
+* Thu May 22 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 1.2.2-3
+- Add python-*-3 links to scripts
+Resolves: #1098109
+
* Fri May 9 2014 Orion Poplawski <orion at cora.nwra.com> - 1.2.2-2
- Rebuild for Python 3.4
More information about the scm-commits
mailing list