Bug 1462310
Summary: | missing default cfg on rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | bitlord0xff, jdisnard, mebrown, msimacek, msuchy, nforro, praiskup, sgallagh, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mock-1.4.3-1.fc26 mock-1.4.3-1.fc25 mock-1.4.3-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-10 16:54:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Slebodnik
2017-06-16 17:15:28 UTC
Moving to f26 because I can easily reproduce with f26 docker image registry.fedoraproject.org/fedora:26 Fixed in commit 8cacc2355cbf3dc36a72d48f8f0c9f7d6936bd37 Previously we called python in %post and this is no longer true. So for Fedoras we now call python3 script. mock-1.4.2-1.fc25 does not depend on yum or any other python2 package. But it still use python(python2) in scriptlet. BTW mock in f24 still depends on yum and therefore there is not such problem. Ops, I forgot to 'git push' it. Correct commit is 1874608 > BTW mock in f24 still depends on yum and therefore there is not such problem.
In upstream it is:
Suggests: yum
So you can have mock without yum.
(In reply to Miroslav Suchý from comment #5) > > BTW mock in f24 still depends on yum and therefore there is not such problem. > > In upstream it is: > Suggests: yum > So you can have mock without yum. "Suggests: yum" is not proper solution in rawhide Because there will be still missing default cfg in case of "dnf --setopt=install_weak_deps=false install mock" And IIRC microdnf should have disabled weak deps by default. mock depends on python3 and therefore shoudl use python3 in scriptlets sh$ rpm -q --requires mock | grep python3 /usr/bin/python3 python3 python3-distro python3-requests python3-six >= 1.4.0 rpm-python3 sh$ rpm -q --scripts mock | grep python mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch") This is the same issue as bug #1461839 it's against different releases, since I'm not sure I won't close it as duplicate. > "Suggests: yum" is not proper solution in rawhide That was just my reply that mock still depend on yum. It does not depend anymore. See the commit that fixes this BZ https://github.com/rpm-software-management/mock/commit/1874608000f1f3f695e651b9447e450cf8c81e75 Mock is now using python3 and hawkey module to detect arch. (In reply to Miroslav Suchý from comment #8) > > "Suggests: yum" is not proper solution in rawhide > That was just my reply that mock still depend on yum. It does not depend > anymore. > I see > See the commit that fixes this BZ > https://github.com/rpm-software-management/mock/commit/ > 1874608000f1f3f695e651b9447e450cf8c81e75 > Mock is now using python3 and hawkey module to detect arch. OK, then please change state of BZ so you won't forget to close BZ with update in koji. I am use POST for fixed issues in upstream but missing fix in downstream. But you might have different workflow. *** Bug 1461839 has been marked as a duplicate of this bug. *** *** Bug 1469699 has been marked as a duplicate of this bug. *** mock-1.4.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-53f9c9cb51 mock-1.4.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-204acb9aa4 mock-1.4.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ee5b66a4c mock-1.4.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-53f9c9cb51 mock-1.4.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ee5b66a4c mock-1.4.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-204acb9aa4 mock-1.4.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. mock-1.4.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. mock-1.4.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |