POSTIN
/bin/sh
# the trick can be used only once else the macros will be included twice if [ -f /etc/rpm/macros.rpmnew ] && ! grep -q 'update macros (do not remove this comment)' /etc/rpm/macros; then echo "Merging new macros into /etc/rpm/macros..." cat /etc/rpm/macros.rpmnew >> /etc/rpm/macros && rm -f /etc/rpm/macros.rpmnew fi