[kernel] r7531 - dists/trunk/linux-modules-extra-2.6/debian

Bastian Blank waldi at costa.debian.org
Tue Sep 26 10:58:35 UTC 2006


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



More information about the Kernel-svn-changes mailing list