I wanted to distribute the header files placed on /usr/include/linux by a custom kernel-headers package.
Isn't it just put the file at /home/peter/rpmbuild/BUILD/kernel-2.6.38.fc15.new/include/linux ?
No! This is only 50% of the work. The other 50% consists of adding a line to the file:
The line looks like:
header-y += pst_syscalls.h
And voila! Now it is done!
The expected result is:
[peter@KDPeter ~]$ rpm -qf /usr/include/linux/pst_syscalls.h