Bug 1054711 - Automatically generate %{?scl:Requires: %scl_runtime}
Summary: Automatically generate %{?scl:Requires: %scl_runtime}
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: scl-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Zeleny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1054820
TreeView+ depends on / blocked
 
Reported: 2014-01-17 10:45 UTC by Vít Ondruch
Modified: 2014-03-01 14:13 UTC (History)
2 users (show)

Fixed In Version: scl-utils-20140127-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1054820 (view as bug list)
Environment:
Last Closed: 2014-03-01 14:05:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Autogenerate scl -runtime requires. (544 bytes, patch)
2014-01-17 12:32 UTC, Vít Ondruch
no flags Details | Diff

Description Vít Ondruch 2014-01-17 10:45:20 UTC
Every collection package has to depend on metapackage-runtime. It is typically achieved by %{?scl:Requires: %scl_runtime} snippet. But it would make more sense to generate this dependency automatically using RPM generator.

Comment 1 Jan Zeleny 2014-01-17 11:32:41 UTC
Makes sense. Scheduled for the next release considering no problems will be encountered along the way.

Comment 2 Vít Ondruch 2014-01-17 12:32:00 UTC
Created attachment 851571 [details]
Autogenerate scl -runtime requires.

Comment 3 Vít Ondruch 2014-01-17 12:33:44 UTC
I put my own version of this generator into ror40 metapackage and it seems it works as expected.

Comment 4 Jan Zeleny 2014-01-17 12:50:26 UTC
Well, yeah. But the assumption here is that every collection has the -runtime package. That may be true at the moment but I don't think it's documented as a hard requirement, is it?

Comment 5 Vít Ondruch 2014-01-17 13:03:37 UTC
It is documented I would say:

http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-Package_Layout.html

But you are right that more universal approach would be to require package which specifies %scl_files in its %files section. Not sure if that would be worth of the effort.

Comment 6 Vít Ondruch 2014-01-17 14:03:11 UTC
Actually there are more specific references to -runtime in documentation:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html

The documentation should be updated as well, when this will get implemented.

Comment 7 Fedora Update System 2014-01-27 12:07:55 UTC
scl-utils-20140127-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/scl-utils-20140127-1.fc19

Comment 8 Fedora Update System 2014-01-27 12:08:21 UTC
scl-utils-20140127-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/scl-utils-20140127-1.fc20

Comment 9 Fedora Update System 2014-01-28 04:36:55 UTC
Package scl-utils-20140127-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing scl-utils-20140127-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1623/scl-utils-20140127-1.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-03-01 14:05:38 UTC
scl-utils-20140127-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-03-01 14:13:40 UTC
scl-utils-20140127-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.