Bug 17469 - RFE: Automatic Preqreqs/buildprereqs
Summary: RFE: Automatic Preqreqs/buildprereqs
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-13 14:24 UTC by kestes
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-09-29 21:39:06 UTC


Attachments (Terms of Use)

Description kestes 2000-09-13 14:24:31 UTC
Now that my Shell dependency patch is in bash we can
generate prereqs/build prereqs by processing
the specfile scripts through bash at package build
time.  This would allow you to ensure that you do
not miss any prereqs.  Now prereqs are added by
hand and you never know if you get the full set of
needed packages.

It would be particularly helpful if this dependency analysis
was controled through macros so that the dependency engine 
could be adjusted or eliminated by an experianced RPM
build master.


You can even extract buildprereq information from
all the makefiles in the build directory.  The script
you need to run looks something like this


find $BUILDDIR -name 'Makefile' -type f -print | xargs egrep -h "^\t"

Remember that makefile lines which begin with tab are really embedded
shell scripts.

Comment 1 Jeff Johnson 2001-02-21 19:00:28 UTC
Changing component.

Comment 2 Bill Nottingham 2005-09-29 21:39:06 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.

For RPM issues, please try a current release such as Fedora Core 4; if bugs
persist, please open a new issue.


Note You need to log in before you can comment on or make changes to this bug.