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

Move licensing to files instead of rpm description for vtbuffer

This commit is contained in:
Jarrod Johnson 2022-04-25 16:05:22 -04:00
parent 2c058fe634
commit 7234310519
2 changed files with 6 additions and 17 deletions

View File

@ -4,7 +4,7 @@ if [ "$NUMCOMMITS" != "$VERSION" ]; then
VERSION=$VERSION.dev$NUMCOMMITS.g`git describe|cut -d- -f 3`
fi
mkdir -p dist/confluent_vtbufferd-$VERSION
cp *.c *.h Makefile dist/confluent_vtbufferd-$VERSION
cp ../LICENSE *.c *.h Makefile dist/confluent_vtbufferd-$VERSION
cd dist
tar czf confluent_vtbufferd-$VERSION.tar.gz confluent_vtbufferd-$VERSION
cd -

View File

@ -17,21 +17,6 @@ Url: https://github.com/lenovo/confluent/
%description
Service for managing in-memory VT emulation for confluent.
Contains third party open source code:
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.
%prep
%setup -n %{name}-%{version} -n %{name}-%{version}
@ -40,8 +25,12 @@ modification, are permitted provided that the following conditions are met:
make
%install
mkdir -p $RPM_BUILD_ROOT/opt/confluent/bin
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 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/LICENSE