**Describe the bug**
When I run:
```
rpmspec -q --qf '%{license}\n' '--define=_sourcedir .'
~/spdx/cfn-lint/cfn-lint.spec 2>/dev/null
```
on this spec file
https://src.fedoraproject.org/rpms/cfn-lint/blob/rawhide/f/cfn-lint.spec
I get:
```
Reading /var/tmp/rpm-tmp.bSC32X
MIT-0 AND MIT
MIT-0 AND MIT
MIT-0 AND MIT
MIT-0 AND MIT
MIT-0 AND MIT
```
which is more lines than expected and contains line that should be on stderr
(or not printed at all because of `-q`)
**To Reproduce**
Steps to reproduce the behavior:
1. fedpkg clone cfn-lint
2. cd cfn-lint
3. rpmspec -q --qf '%{license}\n' '--define=_sourcedir .' cfn-lint.spec
2>/dev/null
Please link or attach the packages or spec files involved.
**Expected behavior**
I expected that the line `Reading /var/tmp/rpm-tmp.bSC32X` is not present,
because I used `-q` option.
And I would expect the line with the license printed only once.
**Output**
**Environment**
- Fedora 41
- rpm-build-4.20.0-1.fc41.x86_64
**Additional context**
I believe this did not happened a week ago (when I used F41 Beta).
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3413
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint