Description of problem: EPEL 9: <mock-chroot> sh-5.1# rpm -q R-srpm-macros R-srpm-macros-1.3.5-1.el9.noarch <mock-chroot> sh-5.1# rpm -E '%R_rpm_version 1.2.3' 1.2.3 <mock-chroot> sh-5.1# rpm -E '%R_rpm_version 1.2.3' | hexdump -C 00000000 1f 1f 31 2e 32 2e 33 0a |..1.2.3.| 00000008 EPEL 10: <mock-chroot> sh-5.2# rpm -q R-srpm-macros R-srpm-macros-1.3.5-1.el10_1.noarch <mock-chroot> sh-5.2# rpm -E '%R_rpm_version 1.2.3' 1.2.3 <mock-chroot> sh-5.2# rpm -E '%R_rpm_version 1.2.3' | hexdump -C 00000000 1f 1f 31 2e 32 2e 33 0a |..1.2.3.| 00000008 Compare Fedora rawhide wher this problem does not appear: <mock-chroot> sh-5.3# rpm -q R-srpm-macros R-srpm-macros-1.3.5-1.fc45.noarch <mock-chroot> sh-5.3# rpm -E '%R_rpm_version 1.2.3' 1.2.3 <mock-chroot> sh-5.3# rpm -E '%R_rpm_version 1.2.3' | hexdump -C 00000000 31 2e 32 2e 33 0a |1.2.3.| 00000006 Version-Release number of selected component (if applicable): R-srpm-macros-1.3.5-1.el9.noarch R-srpm-macros-1.3.5-1.el10_1.noarch How reproducible: Always Steps to Reproduce: 1. See above ... Actual results: Illegal characters 0x1f in expansion of %R_rpm_version. Expected results: No illegal characters. Additional info: This makes packages using the new packaging guidelines non-buildable: Start: build phase for R-littler-0.3.21-4.el9.src.rpm Start: build setup for R-littler-0.3.21-4.el9.src.rpm error: line 14: Illegal char '?' (0x1f) in: Version: 0.3.21
That is weird. The only difference is the rpm version, so it seems like a bug in rpm...
It is the %quote: ...} that messes things up. Changing: %R_rpm_version() %{quote:%global __R_upstream_version %1}%{r_gsub %1 - .} To: %R_rpm_version() %{r_gsub %1 - .}%global __R_upstream_version %1 make things work.
Github PR: https://github.com/rpm-software-management/R-rpm-macros/pull/22
FEDORA-EPEL-2026-4092b95c9b (R-rpm-macros-1.3.6-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-4092b95c9b
FEDORA-EPEL-2026-4734dab97b (R-rpm-macros-1.3.6-1.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-4734dab97b
FEDORA-EPEL-2026-40f2b15beb (R-rpm-macros-1.3.6-1.el10_2) has been submitted as an update to Fedora EPEL 10.2. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-40f2b15beb
FEDORA-EPEL-2026-81298c060b (R-rpm-macros-1.3.6-1.el10_3) has been submitted as an update to Fedora EPEL 10.3. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-81298c060b
FEDORA-EPEL-2026-9a7a61ed12 (R-rpm-macros-1.3.7-1.el10_3) has been submitted as an update to Fedora EPEL 10.3. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a7a61ed12
FEDORA-EPEL-2026-1d0e382b4e (R-rpm-macros-1.3.7-1.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1d0e382b4e
FEDORA-EPEL-2026-a76f9f932f (R-rpm-macros-1.3.7-1.el10_2) has been submitted as an update to Fedora EPEL 10.2. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-a76f9f932f
FEDORA-EPEL-2026-4734dab97b 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-2026-4734dab97b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-40f2b15beb has been pushed to the Fedora EPEL 10.2 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-40f2b15beb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-4092b95c9b 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-2026-4092b95c9b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-81298c060b has been pushed to the Fedora EPEL 10.3 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-81298c060b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-a76f9f932f has been pushed to the Fedora EPEL 10.2 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-a76f9f932f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-9a7a61ed12 has been pushed to the Fedora EPEL 10.3 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a7a61ed12 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-1d0e382b4e 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-2026-1d0e382b4e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-9a7a61ed12 (R-rpm-macros-1.3.7-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-a76f9f932f (R-rpm-macros-1.3.7-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-1d0e382b4e (R-rpm-macros-1.3.7-1.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-2026-09367f0def (R-rpm-macros-1.3.7-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.