From 346c0a22f3f2bf0288e3afb407e08de75867a098 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Apr 07 2017 11:36:57 +0000 Subject: don't enable the source repository manually Otherwise, build and runtime dependencies will be mixed up. Adding the "--srpm" option will take care of enabling the source repo, e.g. if "f26" is configured and enabled, it will enable the corresponding "f26-source" repo (if it is configured but not enabled). --- diff --git a/brt_dep_solver.sh b/brt_dep_solver.sh index a258b3e..e69db68 100755 --- a/brt_dep_solver.sh +++ b/brt_dep_solver.sh @@ -54,7 +54,7 @@ function resolve-deps { --repofrompath=f26,${REPO_F26} \ --repofrompath=f26-source,${REPO_F26_SOURCE} \ --enablerepo=f26 \ - --enablerepo=f26-source ${pkg} > ${pkg}-caps.txt && verbose_echo "DONE" + > ${pkg}-caps.txt && verbose_echo "DONE" while read cap; do if [[ $cap != *" = "* ]]; then @@ -70,7 +70,7 @@ function resolve-deps { --repofrompath f26,${REPO_F26} \ --repofrompath=f26-source,${REPO_F26_SOURCE} \ --enablerepo=f26 \ - --enablerepo=f26-source --whatprovides "${cap}" >> cap2rpm.txt + --whatprovides "${cap}" >> cap2rpm.txt done < ${pkg}-filtered-caps.txt if [ "$runtime" = "true" ]; then