When trying to build an RPM from the Apache source tarball, rpmbuild bails with:
RPM build errors:
Installed (but unpackaged) file(s) found:
The problem is that the mod_proxy_wstunnel.so file has been omitted from the httpd.spec file used to build the RPM.
Extract the tarball, open up httpd.spec in your favourite text editor and scroll down until you find a section that looks like:
This should start at line 308. Add in the following line:
You can now run rpmbuild again. You will either need to rebuild the tarball or change to using “rpmbuild -bb httpd.spec” instead of “rpmbuild -tb httpd-2.4.6.tar.bz2”.