rpmreaper

Steve Grubb sgrubb at redhat.com
Tue Jun 3 23:56:56 UTC 2008


On Tuesday 03 June 2008 18:00:35 Till Maas wrote:
> On Tue June 3 2008, Steve Grubb wrote:
> > Did we ever fix rpmbuild to gather shell script interdependencies? If
> > not, a tool like this might think you can remove a package without
> > realizing that a shell script calls a program in it.
>
> The dependencies need to be specified manually in the spec as Requires:,
> then this won't happen.

Not really. Bash has been patched to to spit out the programs it calls 
(/bin/bash --rpm-requires). So, its a matter of overriding %__find_requires 
to run a program that gathers the information for shell scripts and falls 
back to the old way for others.

No one should have to specify this, it can be automated easily. Without taking 
shell scripts into account, you run the risk of breaking unspecified 
requirements.

-Steve




More information about the fedora-devel-list mailing list