Bug 1054820
Summary: | Automatically generate %{?scl:Requires: %scl_runtime} | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Zeleny <jzeleny> |
Component: | scl-utils | Assignee: | Jan Zeleny <jzeleny> |
Status: | CLOSED WONTFIX | QA Contact: | Lukáš Zachar <lzachar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | bgollahe, bkabrda, drieden, fedora, isenfeld, jsvarova, jzeleny, vondruch |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | scl-utils-20120927-12.el6 | Doc Type: | Bug Fix |
Doc Text: |
Every collection package has to depend on a metapackage-runtime package. It is typically achieved by using the "%{?scl:Requires: %scl_runtime}" snippet. With this update, this dependency is generated automatically using the RPM generator. As a result, maintainers no longer have to store this snippet in their spec files.
|
Story Points: | --- |
Clone Of: | 1054711 | Environment: | |
Last Closed: | 2014-09-26 12:42:10 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: | |
Embargoed: | |||
Bug Depends On: | 1054711 | ||
Bug Blocks: | 1052414, 1054824, 1069109, 1075058, 1075066 |
Description
Jan Zeleny
2014-01-17 14:25:12 UTC
Created a documentation bug 1054824 to track this. Once this bug is fixed, the documentation should be fixed as well. Please note, that for RHEL6, there will be necessary different solution then the generator proposed in bug #1054711, since RHEL6 has older RPM. Note mostly to myself: using most of the commit 029120da28ed39ee94c09864baa2ddecb95593c4 will do the trick. Please note that fixing this bug might require some changes in collection spec files to enable the functionality, see the referenced bug 1075058 for details. As the proposed update broke some collections, we have to temporarily revert the patch. Looking for alternative solutions ... (In reply to Jan Zeleny from comment #7) > broke some collections Could you be please more specific? The only way how to add this requirement automatically to all packages is through dependency generators. To achieve that we had to turn off the internal dependency generators which are apparently used by quite a few packages, for example in mysql collections. Turning them off broke those collections. Current version in Fedora add the Requires: <scl>-runtime. I think, this should be arched Requires: <scl>-runtime%{?_isa} And perhaps even vendor aware Requires: <scl>-runtime(%{?scl_vendor})%{?_isa} Or (as scl_vendor didn't exist in RHEL) Requires: <scl>-runtime(%{?_scl_prefix})%{?_isa} (In reply to Remi Collet from comment #12) > Current version in Fedora add the Requires: <scl>-runtime. > > I think, this should be arched > Requires: <scl>-runtime%{?_isa} > > And perhaps even vendor aware > Requires: <scl>-runtime(%{?scl_vendor})%{?_isa} > > Or (as scl_vendor didn't exist in RHEL) > Requires: <scl>-runtime(%{?_scl_prefix})%{?_isa} Unfortunately, your request is irrelevant here. As per the latest consensus, the feature will be reverted in RHEL6 before it goes into production, as it's impossible to implement it without some compatibility implications which are unacceptable to various people. If you are ok with us taking a look at this for future releases in Fedora, feel free to file a separate RFE. If you do, please elaborate on the reason behind your request. As per maintainers' demand, the related patches are going to be reverted and the bug will not be addressed, as it would require changes in spec files of some collections. |