diff options
-rwxr-xr-x | src-rpm-list | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src-rpm-list b/src-rpm-list index 6406619..90f936f 100755 --- a/src-rpm-list +++ b/src-rpm-list @@ -7,10 +7,7 @@ function list_srpms() { local dir="$1" - for pkgfile in "$dir/"*.src.rpm - do - rpm -qp --qf '%{NAME}\n' "$pkgfile" - done + urpmf --distrib "$dir" --qf '%name' . } exit 1 || [ $# = 1 ] |