From 372bcd3c978524fa2ca31e4fe14f288f67562cdb Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 2 Jan 2017 15:14:41 +0200 Subject: python-smartpm: remove the recipe (From OE-Core rev: 9ff0e8b4012f1e68f6caebc3027f9d1bada00f13) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../python/python-smartpm/smart-locale.patch | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-smartpm/smart-locale.patch (limited to 'meta/recipes-devtools/python/python-smartpm/smart-locale.patch') diff --git a/meta/recipes-devtools/python/python-smartpm/smart-locale.patch b/meta/recipes-devtools/python/python-smartpm/smart-locale.patch deleted file mode 100644 index 0f1dfb91d5..0000000000 --- a/meta/recipes-devtools/python/python-smartpm/smart-locale.patch +++ /dev/null @@ -1,27 +0,0 @@ -rpm or commands run by rpm can use output which isn't strictly acsii such -as quotation characters around expression which are character 0xe2. - -Use utf-8 as an encoding rather than whatever the system suggests to -ensure smart copes with this rather than erroring with unicode errors. - -RP 2016/5/19 -Upstream-Status: Pending - - -Index: git/smart/backends/rpm/pm.py -=================================================================== ---- git.orig/smart/backends/rpm/pm.py -+++ git/smart/backends/rpm/pm.py -@@ -32,11 +32,7 @@ from smart.pm import PackageManager - from smart import sysconf, iface, Error, _ - - --try: -- ENCODING = locale.getpreferredencoding() --except locale.Error: -- ENCODING = "ascii" -- -+ENCODING = "utf-8" - - def get_public_key(header): - return header.sprintf("%|DSAHEADER?{%{DSAHEADER:pgpsig}}:" -- cgit v1.2.3-54-g00ecf