Compiling php 5.2 on CentOS 5.4 part 2 rebuilding the RPMs

After doing all yesterday I realized that the buildrpm program recompiles based on the SPEC and ignores the binaries that i build so we need to edit the SPEC and try again.

So we start with editing the SPEC

#nano /usr/src/redhat/SPECS/php.spec

Need to find the line that startswith

%configure \

following are all the options we make what ever changes and save

now we can rebuild the RPMs

#rpmbuild -bb /usr/src/redhat/SPECS/php.spec

  1. No comments yet.

  1. April 21st, 2010
    Trackback from : Kylie Batt