Bug 172

Summary: too many requirements for minicom build
Product: Sisyphus Reporter: imz <vanyaz>
Component: rpm-utilsAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4 CC: at, glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2001-11-21 23:57:27 MSK
buildreq for minicom-2.00.0-alt4 generates an unreasonably long list of requirements: 
packagereq: 
building requires list:                                                                                             bison cups gimp-print kernel22-source kernel24-source libncurses-devel libtermcap-devel pcmcia-cs

The only really used packages are the two lib*-devel.
All others are probably detected during the execution of ./configure.
---

---
I have three ideas of possible solutions (all of them are not good):

1. exclude files that are commonly used in autotools\' tests from the set of files that are important for detecting the packages;

2. do not trace ./configure and its child processes;

3. put %configure to another section of the spec-file (not %build, but %prep), so that one can first execute %prep without tracing, and then trace the %build stage.

Comment 1 Dmitry V. Levin 2002-09-28 21:24:01 MSD
Seems to be fixed (i.e. was minicom package problem):

now buildreq minicom produces:

# Automatically added by buildreq on Sat Sep 28 2002
BuildRequires: libtinfo-devel
Comment 2 Dmitry V. Levin 2002-09-28 21:24:01 MSD
Seems to be fixed (i.e. was minicom package problem):

now buildreq minicom produces:

# Automatically added by buildreq on Sat Sep 28 2002
BuildRequires: libtinfo-devel