Bug 188673

Summary: readline-devel should require ncurses-devel
Product: [openSUSE] SUSE Linux 10.1 Reporter: Krzysztof Kotlenga <pocek>
Component: DevelopmentAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, suse-beta
Version: FinalKeywords: build, easy_fix
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Krzysztof Kotlenga 2006-06-27 18:08:18 UTC
readline-devel should require ncurses-devel. For example, when doing rpmbuild of fvwm2 package, it fails to detect libreadline. fvwm2 BuildRequires readline-devel BUT NOT ncurses-devel OR termcap (fvwm2 configure script tries both "-lreadline -ltermcap" and "-lreadline -lncurses"). When one of those is installed, fvwm2 builds fine with support for readline.
Comment 1 Dr. Werner Fink 2006-08-07 11:03:32 UTC
I've add %{_libdir}/libncurses.so which is fulfilled with ncurses-devel.
This is for the next openSuSE release.
Comment 2 Michael Schröder 2006-08-07 12:32:50 UTC
I hope you're aware that autobuild and the build service ignores file dependencies...
Comment 3 Dr. Werner Fink 2006-08-07 12:39:33 UTC
Yes I do IMHO a developer using autobuild or build should be able to switch
between ncurses and termcap. And he/she should be able to set the correct
BuildRequire for this.