LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to create file "kernel-source-version.rpm (https://www.linuxquestions.org/questions/linux-software-2/how-to-create-file-kernel-source-version-rpm-361671/)

xinix 09-09-2005 02:37 AM

How to create file "kernel-source-version.rpm
 
How to create file "kernel-source-version.rpm from "kernel-version.src.rpm" or "linux-.version.tar.gz"?

I try "rpmbuild -ba --target=i686 kernel-version.src.rpm", and it takes a "long time", and failure finally.

Is there a guide for this?

thanks firstly!!!

bigrigdriver 09-09-2005 09:20 PM

Visit the RedHat website. Somewhere under Documentation, you will find Maximum RPM, a 700+ page book about rpm: everything, literally EVERYTHING about rpm. That includes how to make and edit a spec file to change the name of the resultant .rpm or .src.rpm when building source or binary rpms. See especially chapter 11 (building packages) and chapter 13 (package naming tags).

xinix 09-10-2005 01:45 AM

Thanks very much!!
I find it.


All times are GMT -5. The time now is 09:49 AM.