Description of problem: rpminfo returns wrong exit codes even if action was successful. example: $ rpminfo --help Usage: rpminfo [-h] [-v] [-q] [-c] [-e | -l] [-p | -np | -P | -nP | -r] [-s] [-o <file>] {-i | [<rpm package>...]} -h | --help print help -v | --verbose be more verbose (to stderr) -q | --quiet only list files -qq really quiet: do not print rpath in split mode -i | --installed all installed packages -e | --executables list executables -l | --libraries list libraries -p | --pic list pic -np | --no_pic list no pic -P | --pie list pie -nP | --no_pie list no pie -r | --rpath list files containing rpath -ro | --rpath_odd list files containing odd rpath -s | --split split output (.pie, .pic, .dso_pic, .rpath..) output must be specified -t | --test test for odd rpath -o <file> | --output=<file> output in file <file> -T <dir> | --tmp-dir=<dir> temporary directory Default options: -e -l -p -np -P -nP -r -t $ echo $? 255 Other actions are affected too. Version-Release number of selected component (if applicable): rpmdevtools-8.3-1.fc18.noarch How reproducible: always Actual results: exit code is always 255 even if performed action was successful Expected results: exit codes reflect action result (especially is 0 in case of success)
Fixed upstream: http://git.fedorahosted.org/cgit/rpmdevtools.git/commit/?id=2dcda15
rpmdevtools-8.4-1.fc20,devscripts-2.13.4-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rpmdevtools-8.4-1.fc20,devscripts-2.13.4-2.fc20
rpmdevtools-8.4-1.fc20, devscripts-2.13.4-2.fc20 has been pushed to the Fedora 20 testing repository.
rpmdevtools-8.4-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rpmdevtools-8.4-2.fc20
rpmdevtools-8.4-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.