This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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
- Create a Python 3.5 SRPM and RPM
- Query the Fedora repos to get the list of all packages with a build or runtime requirement on Python 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
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)
% dnf install fedora-repos-rawhide
% dnf repoquery --arch=src --disablerepo='*' --enablerepo=rawhide-source --whatrequires python3-devel | wc -l
783
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).