| Summary: | Provide %license macro for better compatibility between Fedora/RHEL7 and RHEL6 | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Vít Ondruch <vondruch> |
| Component: | scl-utils | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | jorton, kanderso, pkovar |
| Target Milestone: | --- | ||
| Target Release: | 3.6 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-15 07:47:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1420233 | ||
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |
Description of problem: In Fedora and RHEL7, there is possible to mark license files using %license macro. It would be nice to have %license macro available on RHEL 6 as well. I met this workaround on one package [1]: %{!?_licensedir:%global license %%doc} It would be even better to have this macro on RPM itself, but not sure if that is possible to get this into RHEL, so proposing this for scl-utils, since we had some fun with this during RHSCL 2.3 rebuild of RHEL7 SCLs for RHEL6. [1] http://pkgs.fedoraproject.org/cgit/rpms/rubygem-pry.git/tree/rubygem-pry.spec#n100