From Fedora Project Wiki

< User:Hhorak

Revision as of 20:10, 18 September 2014 by Hhorak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Task for volunteers

Complexity: approx. 20h

Contact person: Honza Horak <hhorak AT>

Description: Get familiar with RPM and especially its dependency model. Learn what means BuildRequires in the RPM spec and how to list dependencies of a package in repository using repoquery utility.

Choose either shell or Python and implement a small utility, that tracks building dependencies of specified package. The utility accepts names of input and output repositories and name of a package from input repository.

The utility should return all build dependencies from input repository that are not available in output repository. It should do it recursively.

The goal is to get all packages that we need to add to output repository in order to be able to build package in output repository.

Example usage:

$> ./ fedora-20 centos-7 mongodb