Re: Online source code browser

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

 



On Wed, 17 Nov 2010 17:22:19 -0500
Todd Zullinger <tmz@xxxxxxxxx> wrote:

> I think I can help simplify this a bit.
> 
> On the whole, I'd avoid all of the manual work and just use fedpkg.
> You can yum install it on Fedora and CentOS/RHEL.
> 
> # Clone the package, anonymously (drop the -a if you're in the fedora
> # packager group).
> fedpkg clone -a foo
> 
> # Change to the newly create package dir.
> cd foo
> 
> # Have fedpkg download the source tarball(s) and extract it, applying
> # any patches as well.
> fedpkg prep
> 
> At this point, you will have the package source in a subdirectory,
> typically %{name}-%{version}.  This will be the contents for rawhide.
> If you wish to see a different release, use fedpkg switch-branch
> prior to the fedpkg prep call (e.g. fedpkg switch-branch f14).
> 
> One nice thing (IMO) about this method is that all the patches and
> source files are in one directory.  I always hated having things
> spread out in rpm's default {BUILD,SOURCES,SPECS} dirs (and I setup an
> ~/.rpmmacros to not use that layout).

I saw your post earlier.  But I'd never used fedpgk and familiarity
overruled the simplicity.  However, given your explanation, it looks
very simple and direct to use.  I'll give it a try the next time I'm
investigating a package.

Thanks.
-- 
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