From 2c058fe6340622be515ddd4dce810fb1ceb40c75 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 25 Apr 2022 15:46:29 -0400 Subject: [PATCH] Properly mark license files as license --- genesis/buildgenesis.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/genesis/buildgenesis.sh b/genesis/buildgenesis.sh index c93aebe6..8791eb84 100644 --- a/genesis/buildgenesis.sh +++ b/genesis/buildgenesis.sh @@ -17,7 +17,6 @@ popd rm -rf $tdir cp $tfile rpmlist cp confluent-genesis.spec confluent-genesis-out.spec -echo %license >> confluent-genesis-out.spec for r in $(cat rpmlist); do #rpm -qi $r | grep ^License|sed -e 's/^.*:/${r}:/' >> licenselist for l in $(rpm -qL $r); do @@ -25,7 +24,7 @@ for r in $(cat rpmlist); do lo=${lo#licenses/} mkdir -p licenses/$(dirname $lo) cp $l licenses/$lo - echo /opt/confluent/genesis/%{arch}/licenses/$lo >> confluent-genesis-out.spec + echo %license /opt/confluent/genesis/%{arch}/licenses/$lo >> confluent-genesis-out.spec done done cp -f /boot/vmlinuz-$(uname -r) boot/kernel