[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible rpms: make download_package() also work with binary package names for source package names

Holger Levsen holger at moszumanska.debian.org
Sun Dec 13 17:26:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit bb439f46fa0345c5c5e5e3421e8bcf92115a32ed
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Dec 13 18:25:53 2015 +0100

    reproducible rpms: make download_package() also work with binary package names for source package names
---
 bin/reproducible_build_rpm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index b38dc19..26fa444 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -53,7 +53,7 @@ update_mock() {
 download_package() {
 	echo "$(date -u ) - downloading ${SRCPACKAGE} for $RELEASE now."
 	yumdownloader --source ${SRCPACKAGE}
-	SRC_RPM="$(ls $SRCPACKAGE*.src.rpm)"
+	SRC_RPM="$(ls *.src.rpm)"
 }
 
 choose_package() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list