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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux