Updated remaining usages of LICENSE.txt

This commit is contained in:
Derek Bailey
2023-03-03 12:01:08 -08:00
parent 01834de25e
commit d44ce00af1
7 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ if (UNIX)
set(CPACK_RPM_PACKAGE_VENDOR "Google, Inc.") set(CPACK_RPM_PACKAGE_VENDOR "Google, Inc.")
set(CPACK_RPM_PACKAGE_LICENSE "Apache 2.0") 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) set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_SOURCE_DIR}/CMake/DESCRIPTION.txt)
# This may reduce rpm compatiblity with very old systems. # This may reduce rpm compatiblity with very old systems.

View File

@@ -20,7 +20,7 @@ class FlatbuffersConan(ConanFile):
options = {"shared": [True, False], "fPIC": [True, False]} options = {"shared": [True, False], "fPIC": [True, False]}
default_options = {"shared": False, "fPIC": True} default_options = {"shared": False, "fPIC": True}
generators = "cmake" generators = "cmake"
exports = "LICENSE.txt" exports = "LICENSE"
exports_sources = ["CMake/*", "include/*", "src/*", "grpc/*", "CMakeLists.txt", "conan/CMakeLists.txt"] exports_sources = ["CMake/*", "include/*", "src/*", "grpc/*", "CMakeLists.txt", "conan/CMakeLists.txt"]
def source(self): def source(self):
@@ -56,7 +56,7 @@ class FlatbuffersConan(ConanFile):
""" """
cmake = self.configure_cmake() cmake = self.configure_cmake()
cmake.install() 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="FindFlatBuffers.cmake", dst=os.path.join("lib", "cmake", "flatbuffers"), src="CMake")
self.copy(pattern="flathash*", dst="bin", src="bin") self.copy(pattern="flathash*", dst="bin", src="bin")
self.copy(pattern="flatc*", dst="bin", src="bin") self.copy(pattern="flatc*", dst="bin", src="bin")

View File

@@ -9,7 +9,7 @@ It was originally created at Google for game development and other
performance-critical applications. performance-critical applications.
It is available as Open Source on [GitHub](http://github.com/google/flatbuffers) 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? ## Why use FlatBuffers?

View File

@@ -8,7 +8,7 @@
<PackageProjectUrl>https://github.com/google/flatbuffers</PackageProjectUrl> <PackageProjectUrl>https://github.com/google/flatbuffers</PackageProjectUrl>
<RepositoryUrl>https://github.com/google/flatbuffers</RepositoryUrl> <RepositoryUrl>https://github.com/google/flatbuffers</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl> <PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile> <PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>flatbuffers.png</PackageIcon> <PackageIcon>flatbuffers.png</PackageIcon>
<PackageTags>Google;FlatBuffers;Serialization;Buffer;Binary;zero copy</PackageTags> <PackageTags>Google;FlatBuffers;Serialization;Buffer;Binary;zero copy</PackageTags>
<Copyright>Copyright 2022 Google LLC</Copyright> <Copyright>Copyright 2022 Google LLC</Copyright>
@@ -39,7 +39,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="" /> <None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="flatbuffers.png" Pack="true" PackagePath="" /> <None Include="flatbuffers.png" Pack="true" PackagePath="" />
</ItemGroup> </ItemGroup>

View File

@@ -29,7 +29,7 @@
"flatbuffers" "flatbuffers"
], ],
"author": "The FlatBuffers project", "author": "The FlatBuffers project",
"license": "SEE LICENSE IN LICENSE.txt", "license": "SEE LICENSE IN LICENSE",
"bugs": { "bugs": {
"url": "https://github.com/google/flatbuffers/issues" "url": "https://github.com/google/flatbuffers/issues"
}, },

View File

@@ -3,4 +3,4 @@ universal=1
[metadata] [metadata]
license_files = license_files =
../license.txt ../license

View File

@@ -18,7 +18,7 @@ setup(
name='flatbuffers', name='flatbuffers',
version='23.3.3', version='23.3.3',
license='Apache 2.0', license='Apache 2.0',
license_files='../LICENSE.txt', license_files='../LICENSE',
author='Derek Bailey', author='Derek Bailey',
author_email='derekbailey@google.com', author_email='derekbailey@google.com',
url='https://google.github.io/flatbuffers/', url='https://google.github.io/flatbuffers/',