| Summary: | Document RHEL 6/7 incompatibilities | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Vít Ondruch <vondruch> |
| Component: | doc-Packaging_Guide | Assignee: | Petr Kovar <pkovar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rh-thermostat16 | CC: | jhradile |
| Target Milestone: | alpha | ||
| Target Release: | 2.2 | ||
| 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: | 2016-11-15 14:44:01 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: | |
I proposed %license macro for scl-utils in bug 1386246. That would remove the need for 1st bullet. |
Description of problem: There are some well know incompatibilities between packages for RHEL7 and RHEL6. It would be nice to have them documented somewhere. 1. %license macro The %license macro is available on Fedora and on RHEL7, but AFAIK, it is not available on RHEL6. The possible workaround is to declare the %license macro for RHEL6 as follows (can somebody please confirm?): %{!?_licensedir:%global license %%doc} 2. Missing -runtime dependencies By design, the scl-utils should autognerate requires on metapackage -runtime. This works fine on RHEL7, but due to limitations of older RPM in RHEL6 [1], the dependency on -runtime package must be explicitly specified [2] in each package. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1075066 [2] http://pkgs.devel.redhat.com/cgit/rpms/rubygem-rack/commit/?h=rhscl-2.3-rh-ror42-rhel-7&id=49942e7fac5f2a317f6ef2fd9b816ac1a5ad958e