[Rpm-maint] [rpm-software-management/rpm] [4.19] Bad architecture in rpm --specfile output (Issue #3402)
Miro Hrončok
notifications at github.com
Thu Oct 24 10:46:10 UTC 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
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3402
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3402 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241024/f75e5ec1/attachment-0001.html>
More information about the Rpm-maint
mailing list