2006-12-19 00:15:33 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo -n "Generating cyrus-sasl-saslauthd "
|
|
|
|
|
|
|
|
cp cyrus-sasl.changes cyrus-sasl-saslauthd.changes
|
2020-12-15 11:40:10 +01:00
|
|
|
cp cyrus-sasl.changes cyrus-sasl-saslauthd.changes
|
|
|
|
cp cyrus-sasl.changes cyrus-sasl-bdb.changes
|
|
|
|
cp cyrus-sasl.changes cyrus-sasl-saslauthd-bdb.changes
|
2006-12-19 00:15:33 +01:00
|
|
|
SASLVERSION=$(awk '/^Version/ {print $2; exit;} {next;};' < cyrus-sasl.spec)
|
|
|
|
perl -pi -e "s/^Version:.*/Version: $SASLVERSION/" cyrus-sasl-saslauthd.spec
|
2020-12-15 11:40:10 +01:00
|
|
|
perl -pi -e "s/^Version:.*/Version: $SASLVERSION/" cyrus-sasl-bdb.spec
|
|
|
|
perl -pi -e "s/^Version:.*/Version: $SASLVERSION/" cyrus-sasl-saslauthd-bdb.spec
|
2006-12-19 00:15:33 +01:00
|
|
|
echo "Done."
|