- Update to 1.4.8

- Alternatives fails for scripts sometimes (bz#1382405)
This commit is contained in:
Avram Lubkin 2016-10-06 13:48:36 -04:00
parent 9c436a4b96
commit 82066edb54
3 changed files with 16 additions and 11 deletions

1
.gitignore vendored
View File

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

View File

@ -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 <aviso@fedoraproject.org> - 1.4.8-1
- Update to 1.4.8
- Alternatives fails for scripts sometimes (bz#1382405)
* Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2
- Alternatives fails for man pages due to existing files

View File

@ -1 +1 @@
e86658823b51296dbe6ebff5f58988c9 Sphinx-1.4.6.tar.gz
5ec718a4855917e149498bba91b74e67 Sphinx-1.4.8.tar.gz