Hide Forgot
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
I proposed %license macro for scl-utils in bug 1386246. That would remove the need for 1st bullet.
Live at: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html/Packaging_Guide/index.html