Issueing Text in the %Post section


I used to issue text in the post section of the spec-file like this:

%post -p /sbin/ldconfig

echo "#                 installation complete!                  #"
echo "#                                                                      #"
echo "#               You should now configure your device, see          #"

That worked well, but in between the installation reports:

Additional rpm output:

/sbin/ldconfig: relative path `2’ used to build cache

warning: %post(devicePlugin-0.3.5-7.1.i586) scriptlet failed, exit status 1

Was there a change in syntax that I need to consider?