diff -Nru golang-github-go-playground-validator-v10-10.4.1/debian/changelog golang-github-go-playground-validator-v10-10.4.1/debian/changelog --- golang-github-go-playground-validator-v10-10.4.1/debian/changelog 2021-01-08 15:18:25.000000000 +0000 +++ golang-github-go-playground-validator-v10-10.4.1/debian/changelog 2021-11-12 16:33:44.000000000 +0000 @@ -1,3 +1,12 @@ +golang-github-go-playground-validator-v10 (10.4.1-3) unstable; urgency=medium + + * Team upload. + * Fix test with golang-github-go-playground-locales 0.14.0 + * Update Standards-Version to 4.6.0 (no changes) + * Remove test dependency from -dev package + + -- Shengjing Zhu Sat, 13 Nov 2021 00:33:44 +0800 + golang-github-go-playground-validator-v10 (10.4.1-2) unstable; urgency=medium * Source-only upload for testing eligibility. diff -Nru golang-github-go-playground-validator-v10-10.4.1/debian/control golang-github-go-playground-validator-v10-10.4.1/debian/control --- golang-github-go-playground-validator-v10-10.4.1/debian/control 2020-12-28 09:05:09.000000000 +0000 +++ golang-github-go-playground-validator-v10-10.4.1/debian/control 2021-11-12 16:33:44.000000000 +0000 @@ -8,11 +8,11 @@ dh-golang, golang-any, golang-github-go-playground-assert-v2-dev, - golang-github-go-playground-locales-dev, + golang-github-go-playground-locales-dev (>= 0.14.0~), golang-github-go-playground-universal-translator-dev, golang-github-leodido-go-urn-dev, golang-golang-x-crypto-dev -Standards-Version: 4.5.0 +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-go-playground-validator-v10 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-go-playground-validator-v10.git Homepage: https://github.com/go-playground/validator @@ -21,8 +21,7 @@ Package: golang-github-go-playground-validator-v10-dev Architecture: all -Depends: golang-github-go-playground-assert-v2-dev, - golang-github-go-playground-locales-dev, +Depends: golang-github-go-playground-locales-dev (>= 0.14.0~), golang-github-go-playground-universal-translator-dev, golang-github-leodido-go-urn-dev, golang-golang-x-crypto-dev, diff -Nru golang-github-go-playground-validator-v10-10.4.1/debian/patches/0001-Fix-test-with-golang-github-go-playground-locales-0..patch golang-github-go-playground-validator-v10-10.4.1/debian/patches/0001-Fix-test-with-golang-github-go-playground-locales-0..patch --- golang-github-go-playground-validator-v10-10.4.1/debian/patches/0001-Fix-test-with-golang-github-go-playground-locales-0..patch 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-go-playground-validator-v10-10.4.1/debian/patches/0001-Fix-test-with-golang-github-go-playground-locales-0..patch 2021-11-12 16:33:44.000000000 +0000 @@ -0,0 +1,51 @@ +From: Dean Karn +Date: Sun, 8 Aug 2021 15:33:28 -0700 +Subject: Fix test with golang-github-go-playground-locales 0.14.0 + +Origin: backport, https://github.com/go-playground/validator/pull/815 +--- + translations/fr/fr_test.go | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/translations/fr/fr_test.go b/translations/fr/fr_test.go +index a3f864c..c2c88d0 100644 +--- a/translations/fr/fr_test.go ++++ b/translations/fr/fr_test.go +@@ -4,9 +4,9 @@ import ( + "testing" + "time" + ++ . "github.com/go-playground/assert/v2" + french "github.com/go-playground/locales/fr" + ut "github.com/go-playground/universal-translator" +- . "github.com/go-playground/assert/v2" + "github.com/go-playground/validator/v10" + ) + +@@ -536,7 +536,7 @@ func TestTranslations(t *testing.T) { + }, + { + ns: "Test.MaxNumber", +- expected: "MaxNumber doit être égal à 1 113,00 ou moins", ++ expected: "MaxNumber doit être égal à 1 113,00 ou moins", + }, + { + ns: "Test.MaxMultiple", +@@ -548,7 +548,7 @@ func TestTranslations(t *testing.T) { + }, + { + ns: "Test.MinNumber", +- expected: "MinNumber doit être égal à 1 113,00 ou plus", ++ expected: "MinNumber doit être égal à 1 113,00 ou plus", + }, + { + ns: "Test.MinMultiple", +@@ -560,7 +560,7 @@ func TestTranslations(t *testing.T) { + }, + { + ns: "Test.LenNumber", +- expected: "LenNumber doit être égal à 1 113,00", ++ expected: "LenNumber doit être égal à 1 113,00", + }, + { + ns: "Test.LenMultiple", diff -Nru golang-github-go-playground-validator-v10-10.4.1/debian/patches/series golang-github-go-playground-validator-v10-10.4.1/debian/patches/series --- golang-github-go-playground-validator-v10-10.4.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-go-playground-validator-v10-10.4.1/debian/patches/series 2021-11-12 16:33:44.000000000 +0000 @@ -0,0 +1 @@ +0001-Fix-test-with-golang-github-go-playground-locales-0..patch