I attempted to build bind with rpmbuild, but the build failed because named-nzd2nzf was not included in %{_bindir} and the manpage for the same was not included in %{_mandir}. It is part of the bind-utils sub-package. I can build the package with rpmbuild after including them in %files section. When I try to build with OSC and include those two files in the %files section, the build fails. The OSC build can’t find those files, and I couldn’t find any information in the spec file about discarding those two files. What causes this to happen?
Different environment of rpmbuild
and osc build
. openSUSE package (I assume you are talking about openSUSE package) is built without LMDB support and LMDB library is not installed in build environment.
Different environment of
rpmbuild
andosc build
. openSUSE package (I assume you are talking about openSUSE package) is built without LMDB support and LMDB library is not installed in build environment.
Although ldmb-devel is not installed on my host, the binary is generated. To be sure, I believe I will need to include conditionals in the spec file. There is some other issue regarding README.%{VENDOR}, the upstream uses a wildcard and that cause the rpmbuild to fail.
It is lmdb, not ldmb.
It is lmdb, not ldmb.
Sorry about that. While typing, I have a habit of shuffling letters. And, lmdb-devel is not installed on my host.
After adding lmdb-devel as BuildRequires the build succeeded on OBS.