Re: Online source code browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stan wrote:
> On Sun, 14 Nov 2010 10:17:02 -0800
> JD<jd1008@xxxxxxxxx>  wrote:
>
>> Is there an online source code browser for Fedora Packages?
>
> I've never heard of such a thing, and it would be a big project.  I
> hope someone knows of one, it would be convenient.
>
> As far as I'm aware, the way to do this is to create a build tree in
> your home directory,
> rpmdev-setuptree
> and then get the src.rpm package,
> yumdownloader --source<package name>
> and install it in the build tree, as a user.
> rpm -ivh<package name>
> Once this is done, move to the SPEC directory,
> cd ~/rpmbuild/SPEC
> and run the rpmbuild command to unpack everything.
> rpmbuild -bp<package name>.spec
> At this point the source will be unpacked in
> ~/rpmbuild/BUILD/<package name>
> You can then look at it with the editor of your choice.

Thank you for the concise description of how to do this, I'm going to use it 
(with attribution) the next time someone hits me with "how do I..." on building 
from source.

-- 
Bill Davidsen <davidsen@xxxxxxx>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux