Description of Problem: with the 7.1 product, you cannot build the ftp SRPM
without having libtermcap-devel installed. But, if "rpm -ba
/usr/src/redhat/SPECS/ftp*spec" is executed, you do NOT get an error from
rpm about missing/unsatisfied build dependencies. If you install the
libtermcap-devel rpm, the ftp SRPM builds without problems.
How Reproducible: Always
Steps to Reproduce:
1. rpm -e libtermcap-devel
2. rpm -Uvh <tree-path>/SRPMS/ftp*.src.rpm
3. rpm -ba /usr/src/redhat/SPECS/ftp*spec
4. rpm -Uvh <tree-path>/RedHat/RPMS/libtermcap-devel*
5. rpm -ba /usr/src/redhat/SPECS/ftp*spec
first 3 steps result in a failure WITHOUT a build-requires error from rpm
next 2 steps build the SRPM without fail
Expected Results: I would expect an rpm error message to be written to
stderr informing me the ftp SRPM cannot be built without installing the
BuildRequires: dependencies added in 0.17-12.
You're wrong about the actual requirement though, ftp wants ncurses-devel, it
just falls back to libtermcap-devel if it can't find ncurses.