[pkg-nvidia-devel] r967 - in /packages/nvidia-graphics-modules/trunk/debian: changelog rules

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Mon May 31 11:34:41 UTC 2010


Author: anbe-guest
Date: Mon May 31 11:34:39 2010
New Revision: 967

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=967
Log:
  * Since we build modules for official linux-image packages only, raise the
    relationship of the module package with the corresponding
    linux-image-KVERS to Depends.

Modified:
    packages/nvidia-graphics-modules/trunk/debian/changelog
    packages/nvidia-graphics-modules/trunk/debian/rules

Modified: packages/nvidia-graphics-modules/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-modules/trunk/debian/changelog?rev=967&op=diff
==============================================================================
--- packages/nvidia-graphics-modules/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-modules/trunk/debian/changelog Mon May 31 11:34:39 2010
@@ -20,6 +20,9 @@
     (without duplicating the NVIDIA version) and linux-headers-* in the
     version of the binary module packages.
   * Drop Build-Depends: module-assistant.
+  * Since we build modules for official linux-image packages only, raise the
+    relationship of the module package with the corresponding
+    linux-image-KVERS to Depends.
 
  -- Andreas Beckmann <debian at abeckmann.de>  Sat, 29 May 2010 15:41:11 +0200
 

Modified: packages/nvidia-graphics-modules/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-modules/trunk/debian/rules?rev=967&op=diff
==============================================================================
--- packages/nvidia-graphics-modules/trunk/debian/rules (original)
+++ packages/nvidia-graphics-modules/trunk/debian/rules Mon May 31 11:34:39 2010
@@ -38,7 +38,11 @@
 build-indep:
 build-stamp: debian/control
 	tar jxf /usr/src/nvidia-kernel$(legacy).tar.bz2
-	sed -i -e '/^Source:/s/.*/Source: $(package)/' modules/nvidia-kernel$(legacy)/debian/control.template
+	sed -i \
+	    -e '/^Source:/s/.*/Source: $(package)/' \
+	    -e '/^Recommends:/s/linux-image-#KVERS#//g' \
+	    -e '/^Depends:/ s/$$/, linux-image-#KVERS#,/' \
+	    modules/nvidia-kernel$(legacy)/debian/control.template
 	mv modules/nvidia-kernel$(legacy)/debian/changelog modules/nvidia-kernel$(legacy)/debian/changelog.nvidia-kernel$(legacy)-source.Debian
 	cp debian/changelog modules/nvidia-kernel$(legacy)/debian
 	touch $@




More information about the Pkg-nvidia-devel mailing list