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