diff --git a/pam_mount.changes b/pam_mount.changes index 810842a..7afd15a 100644 --- a/pam_mount.changes +++ b/pam_mount.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 30 05:45:50 UTC 2011 - jengelh@medozas.de + +- Fix "error: incorrect format: missing { after %" on run of %post + ------------------------------------------------------------------- Wed Aug 10 11:00:29 UTC 2011 - jengelh@medozas.de diff --git a/pam_mount.spec b/pam_mount.spec index e604871..a11c944 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -98,7 +98,7 @@ then fi if [ "$1" -gt 1 ] then - for v in `rpm -q --queryformat "%%VERSION " %name`; do + for v in `rpm -q --queryformat "%%{VERSION} " %name`; do if echo "$v" | grep -E "^0\." - ; then %_docdir/%name/examples/convert_keyhash.pl \ -i etc/security/pam_mount.conf.xml