Opened 10 years ago

Closed 9 years ago

#55 closed enhancement (fixed)

Patches management and RPM building - examples wanted

Reported by: zlj Owned by: bruno
Priority: minor Milestone: 0.9.9
Component: pb-doc Version: 0.9.8
Keywords: Cc:

Description

Hi, first of all, thanks for the all great work made on pb so far!

I have some patches to apply to source tree before building RPM package, but I can't figure out how to apply them with pb in a right way.

I'd really appreciate any example which can clarify the process.

Thanks.

Change History (2)

comment:1 Changed 10 years ago by bruno

  • Milestone set to 0.9.9
  • Owner set to bruno
  • Status changed from new to assigned

Sorry for the lack of documentation, I'm trying to improve that Ex: http://trac.project-builder.org/browser/devel/pb-doc/pb.conf.pod)

Back to your point, you could have a look at what I'm doing with buffer/afio: http://trac.project-builder.org/browser/projects/afio/pbconf/2.5/afio/pbpatch/01-fedora-patches.all

In short, if you create a pbpatch directory under your package dir, and order your patches in it, and then use the macros PBPATCHSRC and PBPATCHCMD in your spec file (ex: http://trac.project-builder.org/browser/projects/afio/pbconf/2.5/afio/rpm/afio.spec) you should be able to produce rpms the way you want.

Feel free to improve that page with your findings: http://trac.project-builder.org/wiki/Documentation#Usingpatches

comment:2 Changed 9 years ago by bruno

  • Resolution set to fixed
  • Status changed from assigned to closed

Feel free to repoen if you think more info is needed.

Note: See TracTickets for help on using tickets.