Use --srpm repoquery arg
This commit is contained in:
parent
fecbde877d
commit
f79aa31144
1 changed files with 1 additions and 1 deletions
|
@ -8,4 +8,4 @@ repodata=`find /var/cache/koschei/repodata/ -maxdepth 1 -type d -name 'primary-f
|
|||
repoid=`basename $repodata`
|
||||
group=$1
|
||||
shift
|
||||
dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' | koschei-admin edit-group "$group" --content-from-file - --append
|
||||
dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --srpm --qf '%{name}' "$@" | koschei-admin edit-group "$group" --content-from-file - --append
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue