The following commit has been merged in the master branch: commit aa7b4a72b25487c6846d4ea27bd0f46676cface6 Author: Patrick Winnertz <win...@debian.org> Date: Mon Apr 6 14:58:25 2009 +0200
Add minor-version number to lustre-module package Signed-off-by: Patrick Winnertz <win...@debian.org> diff --git a/debian/rules b/debian/rules index ccc5b37..2dcb8a1 100755 --- a/debian/rules +++ b/debian/rules @@ -32,6 +32,7 @@ TOP_DIR:=$(shell pwd) VERSION=`cat $(TOP_DIR)/debian/lustre-version` SUPPORTED_KERNELS=2.6.18 2.6.20 2.6.22 UPVERSION=`basename $(TOP_DIR) | awk -F- '{print $$2}'` +UPMINVERSION=`head -n1 $(TOP_DIR)debian/changelog | awk '{print $$2}' | awk -F- '{print $$2}' | sed -e 's/[()]//g'` # Packages PATCH_PKG=linux-patch-lustre @@ -221,7 +222,7 @@ binary-$(SOURCE_PKG): build-stamp debian/$(SOURCE_PKG)/usr/src/modules/lustre/debian/patches/* $(MAKE) -C debian/$(SOURCE_PKG)/usr/src/modules/lustre -f debian/rules clean # Create the module-source tarball. - echo $(UPVERSION) > debian/$(SOURCE_PKG)/usr/src/modules/lustre/debian/lustre-version + echo $(UPVERSION)-$(UPMINVERSION) > debian/$(SOURCE_PKG)/usr/src/modules/lustre/debian/lustre-version cd debian/$(SOURCE_PKG)/usr/src && tar jcf lustre.tar.bz2 modules rm -rf debian/$(SOURCE_PKG)/usr/src/modules dh_install -p$(SOURCE_PKG) -- Lustre Debian Packaging _______________________________________________ Pkg-lustre-svn-commit mailing list Pkg-lustre-svn-commit@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit