diff options
| author | B. Watson <urchlay@slackware.uk> | 2023-02-14 12:59:30 -0500 | 
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2023-02-14 12:59:30 -0500 | 
| commit | fa960de4b3f337a461481fb0687a34e2a73880d0 (patch) | |
| tree | 6268046af50e853ffe954ce89439c99401251f3a | |
| parent | decb2fa1e8081ee588e7681368e372a2b22a5490 (diff) | |
| download | sbo-maintainer-tools-fa960de4b3f337a461481fb0687a34e2a73880d0.tar.gz | |
Bump VERSION, sbopkglint preliminary arm and aarch64 support.0.6.1
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | sbolint | 2 | ||||
| -rwxr-xr-x | sbopkglint | 2 | ||||
| -rw-r--r-- | sbopkglint.d/20-arch.t.sh | 11 | 
4 files changed, 10 insertions, 7 deletions
| @@ -1,7 +1,7 @@  PROJ=sbo-maintainer-tools  # for now, VERSION has to be updated here and also in both scripts. -VERSION=0.6.0 +VERSION=0.6.1  PREFIX=/usr/local  DESTDIR= @@ -1,7 +1,7 @@  #!/usr/bin/perl -w  # note to self: keep this in sync with VER in sbopkglint and VERSION in Makefile. -$VERSION="0.6.0"; +$VERSION="0.6.1";  # ChangeLog: @@ -3,7 +3,7 @@  # 20220408 bkw: note to self: VER must be in sync with VERSION in sbolint  # and the Makefile. -VER=0.6.0 +VER=0.6.1  : <<EOF  =pod diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index 376074d..6ad2d72 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -15,16 +15,19 @@  # if an x86_64 package has any 32-bit ELF objects (libs or bins)  # if an i?86 package has lib64 or usr/lib64 at all  # if an x86_64 package has 64-bit libs in lib or usr/lib +# same 32/64 checking for arm (32-bit) and aarch64 (64-bit)  # note: sometimes files in /lib/firmware are ELF, and would cause  # false "wrong directory" warnings, so we exclude that dir from the  # search.  case "$ARCH" in -	noarch) ;; # ok, do nothing. -	i?86) WRONGDIR="lib64"; CPU="80386" ;; -	x86_64) WRONGDIR="lib"; CPU="x86-64" ;; -	*) warn "ARCH isn't noarch, i?86, or x86_64. don't know how to check binaries." ;; +	noarch)  ;; # ok, do nothing. +	i?86)    WRONGDIR="lib64"; CPU="80386"   ;; +	x86_64)  WRONGDIR="lib";   CPU="x86-64"  ;; +	aarch64) WRONGDIR="lib";   CPU="aarch64" ;; +	arm)     WRONGDIR="lib64"; CPU="ARM"     ;; +	*) warn "ARCH isn't noarch, i?86, x86_64, arm, or aarch64. don't know how to check binaries." ;;  esac  INWRONGDIR="" | 
