diff options
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ function find_src_pkg() for file in "$distribdir/$distrorelease/SRPMS/$section/$sectionrepo/"*.rpm do local fname=$(rpm -qp --qf '%{NAME}' "$file") - if [ a"$fname" = a"$srcname" ] + if [ a"$fname" = a"$pkgname" ] then basename "$file" return 0 |