From 1a33036df9de8f95aea38ec0d9e483106d1abaa4 Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Sat, 13 Apr 2013 18:59:19 +0200 Subject: Add --bump=0 to alien Preserve the release field when creating Debian packages. The --keep-version option was not used because it results in a failure when the git '_' syntax is used for the release. The '_' is a valid character for RPM packages but not for DEBs. Signed-off-by: Brian Behlendorf Signed-off-by: Turbo Fredriksson Issue #1402 Issue #928 --- config/deb.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deb.am b/config/deb.am index 078dd0c7a..78b01f0a2 100644 --- a/config/deb.am +++ b/config/deb.am @@ -20,7 +20,7 @@ if CONFIG_KERNEL version=${VERSION}-${RELEASE}; \ arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ - fakeroot $(ALIEN) --scripts --to-deb $$pkg1; \ + fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1; \ $(RM) $$pkg1 endif @@ -33,7 +33,7 @@ if CONFIG_USER pkg2=$${name}-devel-$${version}.$${arch}.rpm; \ pkg3=$${name}-test-$${version}.$${arch}.rpm; \ pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \ - fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \ + fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \ $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4 endif -- cgit v1.2.3