d/control: add Architecture field
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 27 Mar 2019 13:11:09 +0000 (14:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2019 14:28:50 +0000 (15:28 +0100)
instead of appending it during build

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Makefile
debian/control

index 2318f09..ab248a3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,6 @@ deb: $(DEB)
 ${DEB}:
        $(MAKE) clean
        rsync -a . --exclude build build
-       echo "Architecture: ${ARCH}" >> build/debian/control
        echo "git clone git://git.proxmox.com/git/vncterm.git\\ngit checkout ${GIVERSION}" > build/debian/SOURCE
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${DEB}  
index 54438f1..5021e7c 100644 (file)
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 8.0.0),
 Standards-Version: 3.9.3
 
 Package: vncterm
+Architecture: any
 Section: x11
 Priority: optional
 Depends: libc6 (>= 2.7-18),