Description of problem: Spec file misses some BuildPreReq Version-Release number of selected component (if applicable): openssh.spec of version 3.4p1 How reproducible: On rebuilding Steps to Reproduce: 1.Build on a more or less clean system 2. 3. Actual Results: Missing devel packets Expected Results: More proper BuildPreReq Additional info: Diff: -BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers +BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel, krb5-devel Whether BuildPreReq: pam-devel instead of BuildPreReq: /usr/include/security/pam_appl.h is an issue for discussion.
on spec from rawhide's package openssh-3.5p1-2.src.rpm, there is an : %if %{kerberos5} BuildPreReq: krb5-devel %endif that works for the krb5-devel BuildPrereq
on the openssh-3.5p1's configure.ac the need for a working zlib development environment is clear, as shown on the following snippet : AC_ARG_WITH(zlib, [ --with-zlib=PATH Use zlib in PATH], [ if test "x$withval" = "xno" ; then AC_MSG_ERROR([*** zlib is required ***]) fi ... adding zlib-devel to the BuildPrereq list of packages required for building would help avoid errors while building this package on a clean environment
[rpmbuild] + make gnome-ssh-askpass2 cc `pkg-config --cflags gtk+-2.0` \ gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ `pkg-config --libs gtk+-2.0` Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Installing gtk2-devel fixed the problem. Please add gtk2-devel as BuildRequires.
Fixed in the current releases.