diff options
-rw-r--r-- | meta/ent-0.10.0-fix_native_test_int_overflow.patch | 12 | ||||
-rw-r--r-- | meta/golang-entgo-ent.spec | 5 |
2 files changed, 3 insertions, 14 deletions
diff --git a/meta/ent-0.10.0-fix_native_test_int_overflow.patch b/meta/ent-0.10.0-fix_native_test_int_overflow.patch deleted file mode 100644 index 604988b..0000000 --- a/meta/ent-0.10.0-fix_native_test_int_overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff '--color=auto' -ruN ent-0.10.0/dialect/gremlin/encoding/graphson/native_test.go ent-0.10.0-fix_native_test_int_overflow/dialect/gremlin/encoding/graphson/native_test.go ---- ent-0.10.0/dialect/gremlin/encoding/graphson/native_test.go 2022-01-20 15:01:20.000000000 -0800 -+++ ent-0.10.0-fix_native_test_int_overflow/dialect/gremlin/encoding/graphson/native_test.go 2022-05-10 15:56:35.191928982 -0700 -@@ -93,7 +93,7 @@ - }`, - }, - { -- in: uint(9876543210), -+ in: uint64(9876543210), - want: `{ - "@type" :"gx:BigInteger", - "@value": 9876543210 diff --git a/meta/golang-entgo-ent.spec b/meta/golang-entgo-ent.spec index e586703..85fc245 100644 --- a/meta/golang-entgo-ent.spec +++ b/meta/golang-entgo-ent.spec @@ -27,7 +27,9 @@ Summary: An entity framework for Go License: ASL 2.0 URL: %{gourl} Source: %{gosource} -Patch0: ent-0.10.0-fix_native_test_int_overflow.patch + +# multiple tests have 32-bit issues, upstream does not test on it +ExcludeArch: %{ix86} BuildRequires: golang(github.com/go-openapi/inflect) BuildRequires: golang(github.com/google/uuid) @@ -101,7 +103,6 @@ BuildRequires: golang(ariga.io/atlas/sql/sqlite) %prep %goprep -%patch0 -p1 %generate_buildrequires # %%go_generate_buildrequires |