[syrthes/master] Fix test on SCIENCE_EXPLICIT_VERSION.
Gilles Filippini
gilles.filippini at free.fr
Fri Sep 11 15:20:57 UTC 2009
---
debian/control | 6 +++---
debian/rules | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index a37e8c3..659c00d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,10 @@ Homepage: http://rd.edf.com/syrthes
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/syrthes.git;a=summary
Vcs-Git: git://git.debian.org/git/debian-science/packages/libgarmin.git
-Package: syrthes
+Package: syrthes-3.4.2
Architecture: any
-Provides: syrthes3.4.2
-Conflicts: syrthes3.4.2
+Provides: syrthes-3.4.2
+Conflicts: syrthes-3.4.2
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: gfortran
Description: Transient thermal simulations in complex solid geometries
diff --git a/debian/rules b/debian/rules
index a8e1eb6..5d7c90a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
#export DH_VERBOSE=1
NOREVISION_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -f 1 -d '-' | sed 's/\.dfsg.*$$//')
-EXPLICIT_VERSION := $(shell set -e; if [ "$(SCIENCE_EXPLICIT_VERSION)" == "yes" ]; then echo "-$(NOREVISION_VERSION)"; fi)
+EXPLICIT_VERSION := $(shell set -e; if [ "x$(SCIENCE_EXPLICIT_VERSION)" = "xyes" ]; then echo "-$(NOREVISION_VERSION)"; fi)
SYRTHES_HOME=usr/lib/syrthes/$(NOREVISION_VERSION)
INSTALL_DIR=$(CURDIR)/debian/syrthes$(EXPLICIT_VERSION)
--
1.5.6.5
More information about the debian-science-commits
mailing list