2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Update license to NOTICE file

Bundled third party license content is now described under NOTICE file.
This commit is contained in:
Jarrod Johnson 2022-08-23 15:52:50 -04:00
parent d97c508d86
commit 04526ae8cc
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,24 @@
Copyright and licensisng of vtbufferd
# Copyright:: Copyright (c) 2022 Lenovo
# License:: Apache License, Version 2.0
Additionally, some files included in this package have specified their own
licenses that are differed from the vtbufferd license itself, specifically:
File: tmt.c
Copyright (c) 2017 Rob King
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the
names of contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

View File

@ -27,10 +27,10 @@ make
%install
mkdir -p $RPM_BUILD_ROOT/opt/confluent/bin $RPM_BUILD_ROOT/opt/confluent/share/licenses/vtbufferd
cp vtbufferd $RPM_BUILD_ROOT/opt/confluent/bin/
cp COPYING.tmt $RPM_BUILD_ROOT/opt/confluent/share/licenses/vtbufferd
cp NOTICE $RPM_BUILD_ROOT/opt/confluent/share/licenses/vtbufferd
cp LICENSE $RPM_BUILD_ROOT/opt/confluent/share/licenses/vtbufferd
%files
/opt/confluent/bin/vtbufferd
%license /opt/confluent/share/licenses/vtbufferd/COPYING.tmt
%license /opt/confluent/share/licenses/vtbufferd/NOTICE
%license /opt/confluent/share/licenses/vtbufferd/LICENSE