[Sugar-devel] [PATCH Browse] Allow 'Up' key in the drop-down list of suggested pages SL #3473

Martin Langhoff martin.langhoff at gmail.com
Fri Apr 27 17:03:26 EDT 2012


On Fri, Apr 27, 2012 at 2:10 PM, Manuel Kaufmann <humitos at gmail.com> wrote:
> How is the process in Fedora 16 to download a .rpm from it sources and
> re-build it again?

There's a few ways based on srpms, but here's what I do, which is a
bit different but easier.

 - install fedpkg -- it's a wrapper around git, as fedora keeps its
".spec" files and applied patches in git

 - mkdir ~/fpkg # directory where you'll keep these checkouts, because
they often have the same name as the upstream project

 - cd ~/fpkg

 - git clone git://pkgs.fedoraproject.org/abiword.git # for an
anonymous clone - if you have a fedora account, just "fedpkg clone
abiword"

 - cd abiword

  - fedpkg swich-branch f17 # defaults to "head" which is rawhide (debian's sid)

  - add the patch file, edit .spec file to apply the patch

  - fedpkg localbuild # for a local build -- fast, good for testing

  - fedpkg --dist f17 mockbuild --root fedora-17-i386 # to build a f17
package for x86 in a chroot

the good thing is that it gets you 99% there to being able to help
with the fedora packaging. If you're doing this often, all you need is
to get a fedora account, and ask to comaintain the package, and then
git push will update the package in the distro :-)

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list