Updated remaining usages of LICENSE.txt
diff --git a/CMake/PackageRedhat.cmake b/CMake/PackageRedhat.cmake
index 78f8eaa..3430288 100644
--- a/CMake/PackageRedhat.cmake
+++ b/CMake/PackageRedhat.cmake
@@ -22,7 +22,7 @@
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 bdd832c..9d62290 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -20,7 +20,7 @@
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 @@
"""
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 bbd2cb0..e0c24ce 100644
--- a/docs/source/FlatBuffers.md
+++ b/docs/source/FlatBuffers.md
@@ -9,7 +9,7 @@
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 d633805..3c1c7f2 100644
--- a/net/FlatBuffers/Google.FlatBuffers.csproj
+++ b/net/FlatBuffers/Google.FlatBuffers.csproj
@@ -8,7 +8,7 @@
<PackageProjectUrl>https://github.com/google/flatbuffers</PackageProjectUrl>
<RepositoryUrl>https://github.com/google/flatbuffers</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
- <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
+ <PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>flatbuffers.png</PackageIcon>
<PackageTags>Google;FlatBuffers;Serialization;Buffer;Binary;zero copy</PackageTags>
<Copyright>Copyright 2022 Google LLC</Copyright>
@@ -39,7 +39,7 @@
</ItemGroup>
<ItemGroup>
- <None Include="..\..\LICENSE.txt" Pack="true" PackagePath="" />
+ <None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="flatbuffers.png" Pack="true" PackagePath="" />
</ItemGroup>
diff --git a/package.json b/package.json
index d3d8db8..680ea02 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 bb0feff..e364703 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -3,4 +3,4 @@
[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 4c90894..f52065e 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/',