Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
Matej Stuchlik edited this page Jun 29, 2015 · 2 revisions

Notes from the beaker-devel discussion https://lists.fedorahosted.org/pipermail/beaker-devel/2015-June/001268.html

Steps:

  1. Create a Python 3.5 SRPM and RPM
  2. Query the Fedora repos to get the list of all packages with a build or runtime requirement on Python 3
  3. Use https://beaker-project.org/docs-develop/user-guide/beaker-provided-tasks.html#distribution-rebuild to rebuild all the packages from 2 against the Python 3.5 pre-release RPM from 1

Handcrafting a Python 3.5 RPM (not an SCL):

fedpkg clone --anonymous python3
# hack it
fedpkg srpm
mock -r fedora-22-x86_64 ...src.rpm

(Fully automating that step would be nice, then we can easily do this for every upstream release. In meantime, we could partially automate it with the help of rebase-helper)

Building the list of packages (from Matej):

% dnf install fedora-repos-rawhide
% dnf repoquery --arch=src --disablerepo='*' --enablerepo=rawhide-source --whatrequires python3-devel | wc -l          
783

Triggering the checked rebuild (from Dan Callaghan):

Use the example in the Beaker docs as a basis. The second repo in the MOCK_REPOS param needs to be the yum repo containing the Python 3.5 RPMs. Instead of SKIP_NOARCH, populate the SRPM_WHITELIST parameter based on the list of SRPMs from step 2 (the whitelist is a list of globs matched against the entire filename including .src.rpm extension).