Fix arch OptDepends version check and add gzip compression

This commit is contained in:
dragon 2024-08-26 10:45:24 +08:00
parent cbedd7e5be
commit 600c703ef4
2 changed files with 7 additions and 3 deletions

View file

@ -199,7 +199,7 @@ func TestValidatePackageSpec(t *testing.T) {
Provides: []string{"abc", "def"},
License: []string{"GPL"},
Depends: []string{"go", "gpg=1", "curl>=3", "git<=7"},
OptDepends: []string{"git: something", "make"},
OptDepends: []string{"git: something", "make", "llvm<=17: not support llvm 18+"},
MakeDepends: []string{"chrom"},
CheckDepends: []string{"bariy"},
Backup: []string{"etc/pacman.d/filo"},