Modifying SRPMs
Hello,
I was wondering if anyone had a good tutorial or "howto" regarding modifying SRPMs. I searched on google and I found tons of stuff about building RPMs from scratch and that's not what I'm looking for (don't really care about building .spec files right now...) Basically this is what I'm looking for... Say package-example.rpm doesn't have --with-perl compiled in it. I would like to download package-example.src.rpm and use the rpmbuild command to add that option. Does anyone know of a good tutorial for something like that? Thanks -C |
Extract .src.rpm (see 'rpm2cpio') into tarball, patches (if any) and .spec file. Modify %configure line in .spec file, save, run rpmbuild on the new .spec file. Should be about it.
|
Quote:
I'll run some some tests and will post if I have trouble. -C |
Quote:
If I installed the src rpm.... example: Code:
root@host# rpm -ivh package-example.src.rpm thanks, -C |
Quote:
Quote:
|
Quote:
-C |
Quote:
Code:
%_topdir $HOME/share/src/redhat |
All times are GMT -5. The time now is 04:33 PM. |