diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..0a80fdce31f59c062e2abba28776e9521eddff30 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..be277a47890e507cac354c668c1a5c6baab2d5eb --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/flatbuffers diff --git a/0002-kKeep-filenames-to-avoid-incorrect-require-casing.patch b/0002-kKeep-filenames-to-avoid-incorrect-require-casing.patch index 3f171598cd7a5d96ad11020b181053041721a3f7..3cd4b6d2b3980e077698b70d718cc080580c4590 100644 --- a/0002-kKeep-filenames-to-avoid-incorrect-require-casing.patch +++ b/0002-kKeep-filenames-to-avoid-incorrect-require-casing.patch @@ -15,20 +15,20 @@ index 185e8596..b3da048c 100644 } Namer::Config LuaDefaultConfig() { -- return { /*types=*/Case::kUpperCamel, -+ return { /*types=*/Case::kKeep, - /*constants=*/Case::kUnknown, - /*methods=*/Case::kUpperCamel, - /*functions=*/Case::kUpperCamel, -@@ -507,7 +507,7 @@ class LuaBfbsGenerator : public BaseBfbsGenerator { - - std::string GenerateMethod(const r::Field *field) const { +- return {/*types=*/Case::kUpperCamel, ++ return {/*types=*/Case::kKeep, + /*constants=*/Case::kUnknown, + /*methods=*/Case::kUpperCamel, + /*functions=*/Case::kUpperCamel, +@@ -516,7 +516,7 @@ class LuaBfbsGenerator : public BaseBfbsGenerator { + std::string GenerateMethod(const r::Field* field) const { const r::BaseType base_type = field->type()->base_type(); -- if (IsScalar(base_type)) { return namer_.Type(GenerateType(base_type)); } -+ if (IsScalar(base_type)) { return namer_.Method(GenerateType(base_type)); } - if (IsStructOrTable(base_type)) { return "Struct"; } - return "UOffsetTRelative"; - } + if (IsScalar(base_type)) { +- return namer_.Type(GenerateType(base_type)); ++ return namer_.Method(GenerateType(base_type)); + } + if (IsStructOrTable(base_type)) { + return "Struct"; -- -2.43.0.windows.1 +2.50.1 diff --git a/flatbuffers-25.2.10.tar.gz b/flatbuffers-25.2.10.tar.gz deleted file mode 100644 index cafcb4900fd503551fbdd055d4b06d9a0e10c2b2..0000000000000000000000000000000000000000 Binary files a/flatbuffers-25.2.10.tar.gz and /dev/null differ diff --git a/flatbuffers-25.9.23.tar.gz b/flatbuffers-25.9.23.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7a0f31c3b7b0f2ce60d874f34795d873ab067c9d --- /dev/null +++ b/flatbuffers-25.9.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9102253214dea6ae10c2ac966ea1ed2155d22202390b532d1dea64935c518ada +size 2336210 diff --git a/flatbuffers.spec b/flatbuffers.spec index 4460a47ee86ffcf7320e72ec390daaa93751e1af..8191b78eccaa441976efd906a0fa06eae811b943 100644 --- a/flatbuffers.spec +++ b/flatbuffers.spec @@ -1,8 +1,8 @@ %bcond cpp_tests 1 Name: flatbuffers -Version: 25.2.10 -Release: 3 +Version: 25.9.23 +Release: 1 Summary: Memory efficient serialization library License: Apache-2.0 URL: https://github.com/google/flatbuffers @@ -135,6 +135,9 @@ cp -p %SOURCE1 %{buildroot}%{_mandir}/man1/flatc.1 %changelog +* Thu Oct 02 2025 Funda Wang - 25.9.23-1 +- update to 25.9.23 + * Wed Aug 13 2025 gupengcheng - 25.2.10-3 - lua-kKeep-filenames-to-avoid-incorrect-require-casing