Open hroncok opened 3 days ago
Describe the bug On Fedora 39 and 40, the architecture in rpm --specfile is always src. This is inconsistent with the past (4.17.1) and present (4.20).
rpm --specfile
src
$ rpm --specfile python-scripttest/*.spec python-scripttest-1.3.0-1.fc36.noarch python3-scripttest-1.3.0-1.fc36.noarch
$ rpm --specfile python-scripttest/*.spec python-scripttest-1.3.0-1.fc38.src python3-scripttest-1.3.0-1.fc38.src
$ rpm --specfile python-scripttest/*.spec python-scripttest-1.3.0-1.fc40.src python3-scripttest-1.3.0-1.fc40.src
$ rpm --specfile python-scripttest/*.spec python-scripttest-1.3.0-1.fc42.noarch python3-scripttest-1.3.0-1.fc42.noarch
(Same behavior for archful packages.)
To Reproduce Steps to reproduce the behavior:
git clone https://src.fedoraproject.org/rpms/python-scripttest.git
rpm --specfile python-scripttest/*.spec
Expected behavior
I expected the same output with RPM 4.19 as with 4.17 and 4.20.
Output See above.
Environment
Additional context This breaks a script in Fedora CI: https://pagure.io/fedora-ci/general/issue/495
Thanks for the report. This is trying to ring a bell but can't pinpoint the fix offhand, we'll look to it when preparing 4.19.2.
Describe the bug On Fedora 39 and 40, the architecture in
rpm --specfile
is alwayssrc
. This is inconsistent with the past (4.17.1) and present (4.20).RPM version 4.17.1
RPM version 4.18.2 (buggy)
RPM version 4.19.1.1 (buggy)
RPM version 4.20.0 (fixed)
(Same behavior for archful packages.)
To Reproduce Steps to reproduce the behavior:
git clone https://src.fedoraproject.org/rpms/python-scripttest.git
rpm --specfile python-scripttest/*.spec
Expected behavior
I expected the same output with RPM 4.19 as with 4.17 and 4.20.
Output See above.
Environment
Additional context This breaks a script in Fedora CI: https://pagure.io/fedora-ci/general/issue/495