diff --git a/CMake/PackageRedhat.cmake b/CMake/PackageRedhat.cmake index 78f8eaa76ab..34302882fb3 100644 --- a/CMake/PackageRedhat.cmake +++ b/CMake/PackageRedhat.cmake @@ -22,7 +22,7 @@ if (UNIX) set(CPACK_RPM_PACKAGE_VENDOR "Google, Inc.") set(CPACK_RPM_PACKAGE_LICENSE "Apache 2.0") - set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt) + set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE) set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_SOURCE_DIR}/CMake/DESCRIPTION.txt) # This may reduce rpm compatiblity with very old systems. diff --git a/conanfile.py b/conanfile.py index bdd832c36b8..9d622908acd 100644 --- a/conanfile.py +++ b/conanfile.py @@ -20,7 +20,7 @@ class FlatbuffersConan(ConanFile): options = {"shared": [True, False], "fPIC": [True, False]} default_options = {"shared": False, "fPIC": True} generators = "cmake" - exports = "LICENSE.txt" + exports = "LICENSE" exports_sources = ["CMake/*", "include/*", "src/*", "grpc/*", "CMakeLists.txt", "conan/CMakeLists.txt"] def source(self): @@ -56,7 +56,7 @@ def package(self): """ cmake = self.configure_cmake() cmake.install() - self.copy(pattern="LICENSE.txt", dst="licenses") + self.copy(pattern="LICENSE", dst="licenses") self.copy(pattern="FindFlatBuffers.cmake", dst=os.path.join("lib", "cmake", "flatbuffers"), src="CMake") self.copy(pattern="flathash*", dst="bin", src="bin") self.copy(pattern="flatc*", dst="bin", src="bin") diff --git a/docs/source/FlatBuffers.md b/docs/source/FlatBuffers.md index bbd2cb0f3fa..e0c24cef432 100644 --- a/docs/source/FlatBuffers.md +++ b/docs/source/FlatBuffers.md @@ -9,7 +9,7 @@ It was originally created at Google for game development and other performance-critical applications. It is available as Open Source on [GitHub](http://github.com/google/flatbuffers) -under the Apache license, v2 (see LICENSE.txt). +under the Apache license, v2 (see LICENSE). ## Why use FlatBuffers? diff --git a/net/FlatBuffers/Google.FlatBuffers.csproj b/net/FlatBuffers/Google.FlatBuffers.csproj index d633805afca..3c1c7f22092 100644 --- a/net/FlatBuffers/Google.FlatBuffers.csproj +++ b/net/FlatBuffers/Google.FlatBuffers.csproj @@ -8,7 +8,7 @@ https://github.com/google/flatbuffers https://github.com/google/flatbuffers true - LICENSE.txt + LICENSE flatbuffers.png Google;FlatBuffers;Serialization;Buffer;Binary;zero copy Copyright 2022 Google LLC @@ -39,7 +39,7 @@ - + diff --git a/package.json b/package.json index d3d8db8d6b0..680ea02a40b 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "flatbuffers" ], "author": "The FlatBuffers project", - "license": "SEE LICENSE IN LICENSE.txt", + "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/google/flatbuffers/issues" }, diff --git a/python/setup.cfg b/python/setup.cfg index bb0feff994d..e36470372f5 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -3,4 +3,4 @@ universal=1 [metadata] license_files = - ../license.txt \ No newline at end of file + ../license \ No newline at end of file diff --git a/python/setup.py b/python/setup.py index 4c908945da1..f52065edbc3 100644 --- a/python/setup.py +++ b/python/setup.py @@ -18,7 +18,7 @@ name='flatbuffers', version='23.3.3', license='Apache 2.0', - license_files='../LICENSE.txt', + license_files='../LICENSE', author='Derek Bailey', author_email='derekbailey@google.com', url='https://google.github.io/flatbuffers/',