Bug 39730 - mate-text-editor ошибочно требует python2
Summary: mate-text-editor ошибочно требует python2
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mate-text-editor (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 33000 python2
  Show dependency tree
 
Reported: 2021-02-25 14:49 MSK by Антон Мидюков
Modified: 2021-03-01 15:31 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2021-02-25 14:49:01 MSK
Для плагинов ошибочно ищутся зависимости для python вместо python3.
Исправление такое:

diff --git a/pluma.spec b/pluma.spec
index 8c0d9d2..831e5d4 100644
--- a/pluma.spec
+++ b/pluma.spec
@@ -17,6 +17,9 @@ Obsoletes: %name-data
 Source: %rname-%version.tar
 Patch: %rname-%version-%release.patch
 
+%add_python3_path %_libdir/%rname/plugins
+
+BuildRequires(pre): rpm-build-python3
 BuildRequires: mate-common gtk-doc iso-codes-devel libSM-devel libenchant-devel libgtksourceview3-devel
 BuildRequires: libgtksourceview3-gir-devel libpeas-devel libxml2-devel yelp-tools python3-devel
Comment 1 Repository Robot 2021-03-01 15:31:43 MSK
mate-text-editor-1:1.24.1-alt2 -> sisyphus:

 Mon Mar 01 2021 Valery Inozemtsev <shrek@altlinux.ru> 1:1.24.1-alt2
 - rebuild with python 3 (closes: #39730)