It seems that `$ fedpkg clog` produces multiple duplicate lines on F-41 F-40 I don't see this issue. Reproducible: Always Steps to Reproduce: 1. $ fedpkg co -a --branches deluge 2. $ cd deluge/f40 3. $ fedpkg clog 4. $ cat clog Actual Results: On Fedora 41 (fedpkg-1.45-3.fc41.noarch) $ cat clog Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Expected Results: On Fedora 40 (fedpkg-1.45-2.fc40.noarch): $ cat clog Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Argh! Confirmed: https://src.fedoraproject.org/rpms/claws-mail/c/004d33333804610736560874eb6ac6dd1400a929?branch=rawhide
I hit the same issue :( .
*** Bug 2332089 has been marked as a duplicate of this bug. ***
Also fedpkg commit -c & fedpkg update.
Same issue
I guess, the issue comes from rpm. when commit -c is run, the clog method is executing: `rpm -q --qf '%{CHANGELOGTEXT}\n' --undefine '_changelog_trimtime' --specfile <SPECFILE>` The duplication occurs in Fedora 41, where rpm-4.20 is installed. On Fedora 40 with rpm-4.19 the behaviour is unchanged.
That rpm query is buggy, %{CHANGELOGTEXT} is an array and so needs to be queried as such. See https://rpm-software-management.github.io/rpm/manual/queryformat.html for whole story but for TLDR version: "--qf '[%{CHANGELOGTEXT}\n]'" produces all the changelog entry texts with no other info, if that's the intention. On a mostly unrelated note, for any spec queries you'd be better off using "rpmspec" directly. That's what "rpm -q <spec>" ends up executing anyhow but using it directly gives you direct access to things "rpm -q <spec>" cannot do.
Recently I also noticed the commit log is appearing multiple times in 'clog` file when you run 'fedpkg clog'.
The fix is being prepared: https://pagure.io/rpkg/pull-request/729
FEDORA-2025-1ef7283bb9 (rpkg-1.67-7.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-1ef7283bb9
FEDORA-2025-6d5589b0ee (rpkg-1.67-7.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2025-6d5589b0ee
FEDORA-2025-a771ea5819 (rpkg-1.67-7.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-a771ea5819
FEDORA-EPEL-2025-675f00561c (rpkg-1.67-7.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-675f00561c
FEDORA-EPEL-2025-916d2b6a29 (rpkg-1.67-7.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-916d2b6a29
FEDORA-2025-a771ea5819 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a771ea5819` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a771ea5819 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-1ef7283bb9 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-1ef7283bb9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1ef7283bb9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-6d5589b0ee has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6d5589b0ee` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6d5589b0ee See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-916d2b6a29 has been pushed to the Fedora EPEL 10.1 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-916d2b6a29 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-45e700672a has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-45e700672a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-675f00561c has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-675f00561c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-a771ea5819 (rpkg-1.67-7.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-6d5589b0ee (rpkg-1.67-7.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-916d2b6a29 (rpkg-1.67-7.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-45e700672a (rpkg-1.67-7.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-675f00561c (rpkg-1.67-7.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-1ef7283bb9 (rpkg-1.67-7.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.