[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-362-gaa7597e |
Date: |
Thu, 02 Jun 2011 11:20:44 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via aa7597ee438487d97763b7e631cb52c58feca6eb (commit)
from 767c823e7c5d975962bca7183441332e6f7b54a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=aa7597ee438487d97763b7e631cb52c58feca6eb
commit aa7597ee438487d97763b7e631cb52c58feca6eb
Author: Gabriele Giacone <address@hidden>
Date: Thu Jun 2 04:19:07 2011 +0200
Packaging supports python >2.6. Fixes natty packaging.
diff --git a/packaging/deb.am b/packaging/deb.am
index 9529d5b..fdc0a2d 100644
--- a/packaging/deb.am
+++ b/packaging/deb.am
@@ -143,14 +143,14 @@ deb-edit-utilities:
# and release. Debian uses site-packages, while Ubuntu uses dist-packages.
deb-edit-python:
@release=`lsb_release -i | sed -e 's/.*:[ \t]//'`; \
- version=`python --version 2>&1 | tr -d '.' | cut -d ' ' -f 2 | sed -e
's:rc[0-9]*::'`; \
- if test $${version} -gt 260; then \
- echo "Editing $(BUILD_DIR)/debian/gtk-plugin-gnash.install for Python
2.6"; \
- pdir=2.6; \
+ pyver=`python --version 2>&1 | cut -d ' ' -f 2 | sed -e
's:rc[0-9]*::'`; \
+ pymaj=`echo $${pyver}|cut -d. -f1`; pymin=`echo $${pyver}|cut -d. -f2`;
\
+ pdir=$${pymaj}.$${pymin}; \
+ if test $${pymaj}$${pymin} -ge 26; then \
+ echo "Editing $(BUILD_DIR)/debian/gtk-plugin-gnash.install for Python
2.6+"; \
packages="dist-packages"; \
else \
echo "Editing $(BUILD_DIR)/debian/gtk-plugin-gnash.install for Python
2.5"; \
- pdir=2.5; \
packages="site-packages"; \
fi; \
if test -e $(BUILD_DIR)/debian/python-gtk-gnash.install; then \
-----------------------------------------------------------------------
Summary of changes:
packaging/deb.am | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-362-gaa7597e,
Gabriele Giacone <=