tags 943499 patch
stop

25.10.2019 17:12, Lisandro Damián Nicanor Pérez Meyer пишет:
> A removal for those archs has been asked in 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943467 but
> ideally the package should list the architectures it builds instead of being 
> Arch: any. This will not
> waste buildds' time and also provide a clearer insight to people looking for 
> this app in their archs.

I agree with you, but dpkg does not seem to provide an easy way to
express such assertion that the package works only on little-endian
architectures.

I tried to just list[1] all possible CPUs in the Architecture field, but
I do not understand its syntax. It looks like line breaks or comments
are not allowed.

 [1]: 
https://salsa.debian.org/debian/telegram-desktop/commit/c22fa4f7cfb3105f3c9889d5342ff7aeeef68157

Below is a copy of the commit.

commit c22fa4f7cfb3105f3c9889d5342ff7aeeef68157
Author: Nicholas Guriev <guriev...@ya.ru>
Date:   Tue Oct 22 09:10:07 2019 +0300

    Restrict supported architectures

diff --git a/debian/control b/debian/control
index 4fd34d9..ba7a6ec 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,9 @@ Vcs-Git: https://salsa.debian.org/debian/telegram-desktop.git
 Vcs-Browser: https://salsa.debian.org/debian/telegram-desktop
 
 Package: telegram-desktop
-Architecture: any
+# Only little endian is supported. Cmd:
+# awk '/^\s*[^#]/ && $5 == "little" {print $1}' ../dpkg-1.19.7/data/cputable
+Architecture: i386 ia64 alpha amd64 arm arm64 mipsel mipsr6el mips64el 
mips64r6el nios2 powerpcel ppc64el riscv64 sh3 sh4 tilegx
 Depends: qt5-image-formats-plugins (>=5.5), ${misc:Depends}, ${shlibs:Depends}
 Recommends: fonts-open-sans
 Built-Using: ${cpplibs:Built-Using}

Reply via email to