2010-02-19 16:28:44 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
NAME=epiphany
|
|
|
|
|
|
|
|
if ! test -f ${NAME}-branding.spec.in ; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
for variant in openSUSE SLED ; do
|
|
|
|
cp ${NAME}-branding.spec.in ${NAME}-branding-${variant}.spec
|
2010-10-15 17:18:24 +02:00
|
|
|
cp ${NAME}-branding.changes.in ${NAME}-branding-${variant}.changes
|
2010-02-19 16:28:44 +01:00
|
|
|
sed -i "s/%{branding_name}/${variant}/g" ${NAME}-branding-${variant}.spec
|
|
|
|
sed -i "s/\(%define *build_${variant} *\)0/\11/" ${NAME}-branding-${variant}.spec
|
|
|
|
sed -i "
|
|
|
|
/^Name: *${NAME}-branding-${variant}/i \
|
|
|
|
# Do not edit this auto generated file! Edit ${NAME}-branding.spec.in.
|
|
|
|
" ${NAME}-branding-${variant}.spec
|
|
|
|
done
|