Opened 15 years ago
Closed 15 years ago
#55 closed enhancement (fixed)
Patches management and RPM building - examples wanted
Reported by: | Ilya Zakreuski | Owned by: | Bruno Cornec |
---|---|---|---|
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 by , 15 years ago
Milestone: | → 0.9.9 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Feel free to repoen if you think more info is needed.
Note:
See TracTickets
for help on using tickets.
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