tarantool / mkrepo

Maintain DEB and RPM repositories on S3
70 stars 24 forks source link

header for src rpm files contains wrong arch field #44

Closed VitaliyaIoffe closed 2 years ago

VitaliyaIoffe commented 2 years ago

If we are using

kernel-rt-3.10.0-693.11.1.rt56.632.el7.src.rpm
kernel-rt-3.10.0-1127.rt56.1093.el7.src.rpm

See

The header contains the wrong arch for both.

v.ioffe@v-ioffe mkrepo % grep arch ./tmp_mkdir/repodata/filelists.xml
<package pkgid="fb7b23264c62705fe7174cad2b8325b7de3ef3b8bcaaf5705d47e3dac47bad4a" name="kernel-rt" arch="noarch">
<package pkgid="0ba4724f341b1b5581c31dde3294ef1f53e9f492fd382cc1415e33c6ef4a08b4" name="kernel-rt" arch="x86_64">

Expected arch="src"

LeonidVas commented 2 years ago

Fixed by https://github.com/knazarov/mkrepo/commit/3ceb9d5cbcf66fc9fe04d4bc2794ca694e148b60