-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
rpm-4.16.1.3-31.el9
-
None
-
None
-
rhel-sst-cs-software-management
-
ssg_core_services
-
20
-
22
-
None
-
False
-
-
Yes
-
CentOS Stream
-
None
-
-
Pass
-
Automated
-
Release Note Not Required
-
-
All
-
None
What were you trying to do that didn't work?
Spec files for Rust packages as generated by rust2rpm are generally supposed to work across all branches of Fedora and EPEL 9. The only exception is that currently the version of RPM in RHEL 9 is too old to support the SourceLicense tag:
error: line 14: Bad source number: SourceLicense: MIT
We use the SourceLicense tag in Rust packages (among other cases) when the source package name and the name of the built package are the same, but the license tags needs to be different (i.e. the license of the sources in the SRPM is different from the combined license of statically linked components in the built RPM).
Please provide the package NVR for which bug is seen:
rpm-4.16.1.3-27.el9_3.x86_64
How reproducible:
Always.
Steps to reproduce
- Write spec file that uses the SourceLicense tag
- Attempt to build it for RHEL 9 / EPEL 9
- See
Expected results
Ideally, the SourceLicense tag would be supported in RHEL 9. However, it was only implemented in RPM 4.18, whereas RHEL 9 is stuck on RPM 4.16. Hence, the request for a backport.
Actual results
Spec files need to differ between Fedora and RHEL 9 / EPEL 9, with no way to currently specify different licenses for packages where the name of the source package matches the name of a built package.
- links to
-
RHBA-2024:133184 rpm bug fix and enhancement update