tags 552915 + patch
thanks

The attached patch fixes this bug.

--
Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,6 @@
 PYVERS=$(shell pyversions -vr debian/control)
 PYMOD=ClientForm
 PACKAGE=python-clientform
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-		             | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
 
 build: $(PYVERS:%=build-python%)
 	touch $@
@@ -44,7 +42,7 @@
 install-python%:
 	python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE) $(py_setup_install_args)
 	# Remove python and module version from .egg-info
-	mv debian/$(PACKAGE)/$(call py_libdir,$*)/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \
+	mv debian/$(PACKAGE)/$(call py_libdir,$*)/$(PYMOD)-*.egg-info \
 	   debian/$(PACKAGE)/$(call py_libdir,$*)/$(PYMOD).egg-info 
 
 .PHONY: binary-common

Attachment: signature.asc
Description: Digital signature

Reply via email to