Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.19] Bad architecture in rpm --specfile output #3402

Open
hroncok opened this issue Oct 24, 2024 · 1 comment
Open

[4.19] Bad architecture in rpm --specfile output #3402

hroncok opened this issue Oct 24, 2024 · 1 comment
Labels
Milestone

Comments

@hroncok
Copy link
Contributor

hroncok commented Oct 24, 2024

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 version 4.17.1

$ rpm --specfile python-scripttest/*.spec
python-scripttest-1.3.0-1.fc36.noarch
python3-scripttest-1.3.0-1.fc36.noarch

RPM version 4.18.2 (buggy)

$ rpm --specfile python-scripttest/*.spec
python-scripttest-1.3.0-1.fc38.src
python3-scripttest-1.3.0-1.fc38.src

RPM version 4.19.1.1 (buggy)

$ rpm --specfile python-scripttest/*.spec
python-scripttest-1.3.0-1.fc40.src
python3-scripttest-1.3.0-1.fc40.src

RPM version 4.20.0 (fixed)

$ 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:

  1. git clone https://src.fedoraproject.org/rpms/python-scripttest.git
  2. 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

  • OS / Distribution: Fedora 37, 38, 39, 40
  • Version 4.18.2, 4.19.1.1

Additional context
This breaks a script in Fedora CI: https://pagure.io/fedora-ci/general/issue/495

@pmatilai pmatilai added the bug label Oct 24, 2024
@pmatilai pmatilai added this to the 4.19.2 milestone Oct 24, 2024
@pmatilai
Copy link
Member

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.

@pmatilai pmatilai added this to RPM Nov 6, 2024
@github-project-automation github-project-automation bot moved this to Backlog in RPM Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants