build: make control static
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 12 Jun 2017 08:02:22 +0000 (10:02 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 12 Jun 2017 08:02:22 +0000 (10:02 +0200)
Makefile
debian/control [new file with mode: 0644]
debian/control.in [deleted file]

index e8ff5b4..d373815 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,6 @@ deb: ${DEB}
 ${DEB}:
        rm -rf build
        rsync -a * build
-       sed -e s/@@ARCH@@/${ARCH}/ <debian/control.in >build/debian/control
        echo "git clone git://git.proxmox.com/git/pve-access-control.git\\ngit checkout ${GITVERSION}" >build/debian/SOURCE
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${DEB}
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..c951d60
--- /dev/null
@@ -0,0 +1,14 @@
+Source: libpve-access-control
+Section: perl
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~), libpve-common-perl, perl (>= 5.10.0-19), lintian, pve-doc-generator
+Standards-Version: 3.9.5
+Homepage: http://www.proxmox.com
+
+Package: libpve-access-control
+Architecture: any
+Depends: libc6 (>= 2.3), perl (>= 5.6.0-16), libcrypt-openssl-rsa-perl, libcrypt-openssl-random-perl, libjson-xs-perl, libjson-perl, libterm-readline-gnu-perl,libnet-ldap-perl, libpve-common-perl, pve-cluster, libauthen-pam-perl, libnet-ssleay-perl, liburi-perl, libwww-perl, libmime-base32-perl
+Description: Proxmox VE access control library
+ This package contains the role based user management and access
+ control function used by Proxmox VE.
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644 (file)
index f34adc2..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Source: libpve-access-control
-Section: perl
-Priority: optional
-Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7.0.50~), libpve-common-perl, perl (>= 5.10.0-19), lintian, pve-doc-generator
-Standards-Version: 3.9.5
-Homepage: http://www.proxmox.com
-
-Package: libpve-access-control
-Architecture: @@ARCH@@
-Depends: libc6 (>= 2.3), perl (>= 5.6.0-16), libcrypt-openssl-rsa-perl, libcrypt-openssl-random-perl, libjson-xs-perl, libjson-perl, libterm-readline-gnu-perl,libnet-ldap-perl, libpve-common-perl, pve-cluster, libauthen-pam-perl, libnet-ssleay-perl, liburi-perl, libwww-perl, libmime-base32-perl
-Description: Proxmox VE access control library
- This package contains the role based user management and access
- control function used by Proxmox VE.