Bug 393681
Summary: | [RFE] equivalent of apt's source and build-dep commands | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pierre Ossman <pierre-bugzilla> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | ffesti, ivazqueznet, james.antill, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-21 06:17:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pierre Ossman
2007-11-21 06:11:44 UTC
yumdownloader and yum-builddep in yum-utils already do this. It's worth pointing out that yumdownloader only does the download part of the "apt-get source" UI. You then have to explode it, I have an rpmsrc alias: rpmsrc='rpm -Uvh --define "_sourcedir `pwd`" --define "_specdir `pwd`"' ...that helps, but really it's just better to look at the Fedora repo directly and use "cvs co <package>" and make prep. http://docs.fedoraproject.org/documentation-guide/en_US/sn-cvs-config.html#sn-cvs-config-anon (In reply to comment #1) > yumdownloader and yum-builddep in yum-utils already do this. Ah, didn't know about those. Still, these would be a lot more convenient in the main yum program. (In reply to comment #2) > It's worth pointing out that yumdownloader only does the download part of the > "apt-get source" UI. You then have to explode it, I have an rpmsrc alias: > A bit of a letdown, but at least I don't have do dig up a URL manually. (One can also just use rpm -U once you have a correctly configured .rpmmacros) > > ...that helps, but really it's just better to look at the Fedora repo directly > and use "cvs co <package>" and make prep. > Assuming that fedora's repos are the only ones you need. ;) |