How to set buildid and version fields in kernel SPEC file

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

 



How do I edit the version and buildid of a SPEC file for a kernel compile such that the version and buildid will show up in the final, binary kernel package? For example suppose I have a file kernel-2.6.22.spec which came with the Fedora kernel sources. How do I set the buildid and version such that the resulting binary kernel RPM will be:

kernel-2.6.23-1-16bob-x86_64.rpm

I think the above conforms to the 'kernel-<version>-<release>.<arch>.rpm' naming standard?

My current kernel builds are succeeding. I haven't actually installed and booted to one yet. However the rpm binaries have exactly the same names as the original kernel rpms that were released. So I'm doing something wrong when editing the spec file. I'm using rpmbuild:

rpmbuild -bb --with baseonly --without debug-info target=`uname -m` kernel-2.6.22.spec


Thanks

Bob Cochran


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux