From 82066edb54f0f37df4ddade516c6a6537c0a354d Mon Sep 17 00:00:00 2001 From: Avram Lubkin Date: Thu, 6 Oct 2016 13:48:36 -0400 Subject: [PATCH] - Update to 1.4.8 - Alternatives fails for scripts sometimes (bz#1382405) --- .gitignore | 1 + python-sphinx.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index ef33498..79c42cf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /Sphinx-1.4.4.tar.gz /Sphinx-1.4.5.tar.gz /Sphinx-1.4.6.tar.gz +/Sphinx-1.4.8.tar.gz diff --git a/python-sphinx.spec b/python-sphinx.spec index 72d4ba8..6918265 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -13,8 +13,8 @@ %endif Name: python-sphinx -Version: 1.4.6 -Release: 2%{?dist} +Version: 1.4.8 +Release: 1%{?dist} Summary: Python documentation generator Group: Development/Tools @@ -419,12 +419,12 @@ popd %post -n python2-sphinx -# Remove old versions of man pages so alternatives doesn't break -for manpage in %{_mandir}/man1/sphinx-{all,apidoc,build,quickstart}.1.gz +# Remove old versions of files so alternatives doesn't break +for filename in %{_mandir}/man1/sphinx-{all,apidoc,build,quickstart}.1.gz %{_bindir}/sphinx-{build,apidoc,autogen,quickstart} do - if [ ! -L $manpage ] + if [ ! -L $filename ] then - rm -f $manpage + rm -f $filename fi done @@ -441,12 +441,12 @@ done %if 0%{?with_python3} %post -n python3-sphinx -# Remove old versions of man pages so alternatives doesn't break -for manpage in %{_mandir}/man1/sphinx-{all,apidoc,build,quickstart}.1.gz +# Remove old versions of files so alternatives doesn't break +for filename in %{_mandir}/man1/sphinx-{all,apidoc,build,quickstart}.1.gz %{_bindir}/sphinx-{build,apidoc,autogen,quickstart} do - if [ ! -L $manpage ] + if [ ! -L $filename ] then - rm -f $manpage + rm -f $filename fi done @@ -525,6 +525,10 @@ fi %changelog +* Thu Oct 6 2016 Avram Lubkin - 1.4.8-1 +- Update to 1.4.8 +- Alternatives fails for scripts sometimes (bz#1382405) + * Sun Sep 4 2016 Avram Lubkin - 1.4.6-2 - Alternatives fails for man pages due to existing files diff --git a/sources b/sources index 81d20ca..48d0fe2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e86658823b51296dbe6ebff5f58988c9 Sphinx-1.4.6.tar.gz +5ec718a4855917e149498bba91b74e67 Sphinx-1.4.8.tar.gz