[Base] Proposal for buildrequires cleanup janitorial initiative

Phil Knirsch pknirsch at redhat.com
Fri Dec 20 11:15:39 UTC 2013


On 12/14/2013 03:27 PM, Ben Boeckel wrote:
> On Fri, 13 Dec, 2013 at 13:41:55 GMT, Phil Knirsch wrote:
>> Yea, I suspect both could be combined though in a script that gradually
>> adds new BRs to a package and then iterates over adding and removing BRs
>> until it produces equivalent output (not identical as thats kinda hard
>> to verify and achieve, but same provides/requires of resulting packages
>> and same filelist at least).
>
> What about BRs which are needed, but the script removes because of
> transitive dependencies? IMO, BuildRequires: foo-devel getting you
> bar-devel, which is also needed, without listing bar-devel means you now
> depend on foo-devel not losing that dependency.
>
> --Ben
>

Right, but shouldn't that then lead to the package building fine but the 
binary packages would miss some requires?

Or am i missing something here?

Thanks & regards, Phil

-- 
Philipp Knirsch              | Tel.:  +49-711-96437-470
Manager Core Services        | Fax.:  +49-711-96437-111
Red Hat GmbH                 | Email: Phil Knirsch <pknirsch at redhat.com>
Wankelstrasse 5              | Web:   http://www.redhat.com/
D-70563 Stuttgart, Germany


More information about the devel mailing list