Ubuntu: Launchpad build fixes

- Set BITS in rules to target architecture bits
- Remove dh --with quilt as dh clean will unpatch with quilt
This commit is contained in:
zzz
2016-05-26 14:22:18 +00:00
parent 6b8cb54466
commit 498280b56d
2 changed files with 215 additions and 0 deletions

2
debian/rules vendored
View File

@@ -33,6 +33,8 @@ export DEB_BUILD_HARDENING=1
#export EXTRAPREFIX := deb
export JAVA_HOME I2P
export DEBIANVERSION := $(shell dpkg-parsechangelog |awk -F' ' '/^Version:/{print $$2}' |sed 's/.*-\([.0-9A-Za-z~+]\{1,\}\)$$/\1/')
# required for jbigi/jcpuid build
export BITS := $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
#export DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
%: