Robbie Harwood <rharwood@xxxxxxxxxx> writes: > Ben Cotton <bcotton@xxxxxxxxxx> writes: > >> A simple `sed` can be applied in `%prep` as a temporary (or even >> permanent) downstream solution. >> >> In most cases, performing the following replacement should be enough: >> >> s/^(\s*)import mock/\1from unittest import mock/ >> s/^(\s*)from mock import /\1from unittest.mock import / > > a couple lines of sed to all (affected) specfiles. I hope I have > misunderstood, because that has no mechanism to get the changes back > into upstreams. Could you clarify what you intend to do? Turns out this is indeed what they meant. I would like to reiterate my concern that this has no mechanism to get the changes back into upstreams: it's just Fedora deviating further from the rest of the world, not leading the charge. Thanks, --Robbie
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx