Re: rpmreaper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux