Re: An update is needed Fedora!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rene Bon Ciric (Renich) wrote:
I don't get tired of thanking you all! Specially the ones that were here from the begining (you can check the thread to see who they are). Im totally grateful.

Ok Paul, as always, your wise guideance is always welcome.

One thought...

Ok, I will rebuild the php5 SRPM... how would I manage to edit the spec file for it if everything is automatic with rpmbuild --rebuild?

Instead of using "rpmbuild --rebuild php-xxx.src.rpm", use "rpm --install php-xxx.src.rpm". This will put the spec file in directory /usr/src/redhat/SPECS, where you can edit it.


Useful information about how spec files are structured can be found at:
http://freshrpms.net/docs/fight/
http://rikers.org/rpmbook/rpmbook.html
http://fedoraproject.org/wiki/PackagingHints

The spec file is basically a specification of how to build and install the package. Once you've got it the way you want it, e.g. to create and package the mysqli extension (don't forget to increase the number in the Release: tag at the top of the spec file too), you can build your new RPM using:

rpmbuild -ba php.spec

This will create new source and binary RPMs if you haven't made an error.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux