Bug 39730

Summary: mate-text-editor ошибочно требует python2
Product: Sisyphus Reporter: Антон Мидюков <antohami>
Component: mate-text-editorAssignee: Valery Inozemtsev <shrek>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: lav, shrek
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 33000, 37313    

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)