When we build using --disable-shared flag to the configure, the make creates only the *.a files as expected.
make rpm is looking for libopenhpi*.so.* and libopenhpi*.so files which is unexpected.
Yes, looks like a flaw. May be we should add (static | shared) conditionals in openhpi.spec.
I am curious how many users of rpm with static OpenHPI are there.