buildsys: only update sa-updates explicitly

Adding a dependency to ${SA_UPDATE_GPG_DIR}/.prepared caused make to
run the sa-updates.tgz recipe unless you had a ${SA_UPDATE_GPG_DIR} from
a previous run.

Since updating the spamassassin rules shipped with the package should probably
be only updated explicitly changing the dependency to an order-only one, stops
the extra sa-update buildstep.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2019-06-04 16:12:03 +02:00 committed by Thomas Lamprecht
parent ae1e4fd862
commit 848fbe4c47

View File

@ -50,7 +50,7 @@ ${SA_UPDATE_GPG_DIR}/.prepared: ${OPKGNAME}.tar.gz
rm sa-update-pubkey.txt
touch $@
sa-updates.tgz: ${SA_UPDATE_GPG_DIR}/.prepared
sa-updates.tgz: | ${SA_UPDATE_GPG_DIR}/.prepared
rm -rf updates.tmp
sa-update --gpghomedir ${SA_UPDATE_GPG_DIR} --updatedir updates.tmp --channel updates.spamassassin.org
tar cvzf sa-updates.tgz --exclude=local.cf --exclude=regression_tests.cf --exclude=*.txt --exclude=MIRRORED.BY -C updates.tmp/updates_spamassassin_org/ .