Author: waldi
Date: Tue Sep 26 10:58:18 2006
New Revision: 7531

Modified:
   dists/trunk/linux-modules-extra-2.6/debian/rules.real

Log:
debian/rules.real: Ignore epoch in verion.


Modified: dists/trunk/linux-modules-extra-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/debian/rules.real       (original)
+++ dists/trunk/linux-modules-extra-2.6/debian/rules.real       Tue Sep 26 
10:58:18 2006
@@ -12,7 +12,7 @@
   JOBS_ARG = -j$(DEBIAN_KERNEL_JOBS)
 endif
 
-MODULEVERSION = $(shell dpkg -s $(MODULESOURCE) | perl -ne 'print $$1 if 
m/^Version: (.*?)(-[^-]+)?$$/;')
+MODULEVERSION = $(shell dpkg -s $(MODULESOURCE) | perl -ne 'print $$2 if 
m/^Version: (\d+:)?(.*?)(-[^-]+)?$$/;')
 ifeq (,$(MODULEVERSION))
 $(error Was not able to retreive version of $(MODULESOURCE))
 endif

_______________________________________________
Kernel-svn-changes mailing list
Kernel-svn-changes@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to