Build problems when building from source (rpm)
Brought to you by:
dhiebert
There are several flaws in the current (5.7) build setup.
The tarball's ctags.spec is missing an explicit version (5.7), so rpmbuild -tb fails early.
Furthermore, both, the tarball and the source rpm, cannot be build cleanly, since during make install the Makefile tries to directly write to /usr/bin instead of {INSTALLDIR}/usr/bin.
I'm not an automake expert, but simple workarounds (f.e. adding "--prefix $RPM_BUILD_ROOT" after %configure in ctags.spec) did not work as expected, since --prefix simply does not seem to get honored.
I'm now triggering a plain configure / make / make install, which is obviously a bit ugly, but works at least...