Hello community,

here is the log from the commit of package python-pylons_sphinx_theme for 
openSUSE:Factory checked in at 2014-11-11 01:10:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylons_sphinx_theme (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylons_sphinx_theme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylons_sphinx_theme"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pylons_sphinx_theme/python-pylons_sphinx_theme.changes
    2014-01-01 20:42:45.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pylons_sphinx_theme.new/python-pylons_sphinx_theme.changes
       2014-11-11 01:11:30.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 20:37:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in post/postun scripts
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pylons_sphinx_theme.spec ++++++
--- /var/tmp/diff_new_pack.fcQBfC/_old  2014-11-11 01:11:33.000000000 +0100
+++ /var/tmp/diff_new_pack.fcQBfC/_new  2014-11-11 01:11:33.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylons_sphinx_theme
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -16,15 +16,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define gitrel 20130712
 
 Name:           python-pylons_sphinx_theme
 Version:       git.%{gitrel}
 Release:       0
-License:       BSD-3-Clause
 Summary:       Pylons themes for python-Sphinx generated documentation
-Url:           https://github.com/Pylons/pylons_sphinx_theme
+License:        BSD-3-Clause
 Group:         Development/Languages/Python
+Url:            https://github.com/Pylons/pylons_sphinx_theme
 Source:                pylons_sphinx_theme-%{version}.tar.bz2
 PreReq:                python-Sphinx
 Requires:      python-Pygments
@@ -55,20 +56,20 @@
 %post
 # relocate outdated pyramid theme to pyramidold and link in current theme
 test -f %{python_sitelib}/sphinx/themes/pyramid/layout.html && {
-    pushd %{python_sitelib}/sphinx/themes &>/dev/null
+    cd %{python_sitelib}/sphinx/themes
     mv pyramid pyramidold
     ln -s pyramidnew pyramid
-    popd &>/dev/null
+    cd - >/dev/null
 }
 exit 0
 
 %postun
 # restore relocated pyramidold theme as current pyramid theme
-test -L %{python_sitelib}/sphinx/themes/pyramid && {
-    pushd %{python_sitelib}/sphinx/themes &>/dev/null
+test -h %{python_sitelib}/sphinx/themes/pyramid && {
+    cd %{python_sitelib}/sphinx/themes
     rm pyramid
     mv pyramidold pyramid
-    popd &>/dev/null
+    cd - >/dev/null
 }
 exit 0
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to