LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pre_checkin.sh of Package optee-os (Project home:a_faerber:branches:hardware:boot)

#!/bin/bash

set -e

rm -f optee-*.spec
for f in optee-*.changes; do
  if [ "$f" != "optee-os.changes" ]; then
    rm -f "$f"
  fi
done

for p in armada3700 armada7k8k hikey hikey960 poplar qemu-armv7a qemu-armv8a rpi3; do
  plat=$p
  sed -e "s/^%define platform\$/%define platform ${plat}/" \
      optee-os.spec.in > optee-$p.spec
  cp optee-os.changes optee-$p.changes
done

osc service localrun format_spec_file