summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-05-10 17:05:03 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-05-10 17:05:03 -0700
commit8102ce0280bbda144d84f625c2d7dd9aa6e1e641 (patch)
treec3abdeb6b8a9769eca855d013919c899103f7b64
parent2bdd73c53e70e88981139127b912767aea2cca20 (diff)
downloadspecs-8102ce0280bbda144d84f625c2d7dd9aa6e1e641.tar.gz
specs-8102ce0280bbda144d84f625c2d7dd9aa6e1e641.tar.xz
specs-8102ce0280bbda144d84f625c2d7dd9aa6e1e641.zip
golang-entgo-ent: just drop %{ix86}
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--meta/ent-0.10.0-fix_native_test_int_overflow.patch12
-rw-r--r--meta/golang-entgo-ent.spec5
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