From a97bf5c59b22b56625b5b7d1a62977bf10a0aace Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Feb 03 2021 11:37:37 +0000 Subject: Drop py3 array.array tobytes workaround Fix landed in 5.6.1 - https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5549 --- diff --git a/tortoisehg.spec b/tortoisehg.spec index 207660e..fa18604 100644 --- a/tortoisehg.spec +++ b/tortoisehg.spec @@ -39,9 +39,6 @@ Note that the nautilus extension has been deprecated upstream. # Avoid wrong upgrade recommendation caused by (4, 9) < (4, 9, 0) #sed -i '/curver = (0,0,0)/a\ if len(curver) < 3: curver = curver + (0,)' tortoisehg/hgqt/bugreport.py -# Support Python 3.9 - https://bitbucket.org/tortoisehg/thg/issues/5549/i18n-msgfmtpy-arrayarray-tostring-fails-on -sed -i '/array.array/s/tostring/tobytes/' i18n/msgfmt.py - %build %py3_build