On 08. 02. 21 22:43, Miro Hrončok wrote:
On 08. 02. 21 20:38, Robbie Harwood wrote:
> Robbie Harwood <rharwood(a)redhat.com> writes:
>
>> Ben Cotton <bcotton(a)redhat.com> 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.
Not sure who you mean by "them" in this case, but doing this downstream only
was
never my intention. I am the change owner.
Neither is a provenpackager adding the sed to all (affected) specfiles.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok