aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2025-03-24 19:41:27 +0000
committerPascal Terjan <pterjan@mageia.org>2025-03-24 19:41:27 +0000
commit59d7c30435f20597d410d4ba79639ce67ad2adfa (patch)
tree5da51288ad740caf34a7970d23c9041d54b44df7 /iurt2
parentbaee8fd172f2996b361ad68002476a7460f3e406 (diff)
downloadiurt-master.tar
iurt-master.tar.gz
iurt-master.tar.bz2
iurt-master.tar.xz
iurt-master.zip
Iurt: Fix getting srpm when stdout is pollutedHEADmaster
If parsing the spec causes something to be printed, it ends up in stdout together with the result of the query: rpmspec -q --qf %{NVR}.src.rpm --srpm SPECS/golang-x-vuln.spec 2>/dev/null Setting %{thisgofilelist} = devel.file-list Setting %{currentgoipath} = golang.org/x/vuln Setting %{currentgosourcedir} = /home/pterjan/rpmbuild/BUILD/golang-x-vuln-1.1.4-build/vuln-1.1.4 Setting %{currentgofilelist} = devel.file-list Setting %{currentversion} = 1.1.4 Setting %{currentgoldflags} =  -X golang.org/x/vuln/version=1.1.4 golang-x-vuln-1.1.4-1.mga10.src.rpm Work around this by keeping only the last line
Diffstat (limited to 'iurt2')
0 files changed, 0 insertions, 0 deletions