Bug 37674

Summary: в 1.7 Не устанавливается локализация
Product: Sisyphus Reporter: Sergey Y. Afonin <asy>
Component: vikingAssignee: Sergey Y. Afonin <asy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: boyarsh
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Y. Afonin 2019-12-23 19:58:56 MSK
/bin/install: cannot create regular file '/usr/share/locale/ast/LC_MESSAGES/viking.mo': Permission denied
installing ast.gmo as /usr/share/locale/ast/LC_MESSAGES/viking.mo
/bin/install: cannot create regular file '/usr/share/locale/ca/LC_MESSAGES/viking.mo': Permission denied
installing ca.gmo as /usr/share/locale/ca/LC_MESSAGES/viking.mo

и т.д. Что-то в make-файлах не то. В принципе помогает такой хак:

--- a/viking.spec
+++ b/viking.spec
@@ -37,6 +37,10 @@ ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make
 %makeinstall
 find %buildroot/usr/share/gnome/help/viking/ -type l -delete

+pushd po
+make install DESTDIR=%buildroot
+popd
+
 %find_lang %name

 %files -f %name.lang
Comment 1 Repository Robot 2019-12-24 13:03:30 MSK
viking-1.7.0-alt2 -> sisyphus:

Tue Dec 24 2019 Sergey Y. Afonin <asy@altlinux> 1.7.0-alt2
- packed localization (ALT #37674)
- updated %License to SPDX syntax, changed to GPL-2.0-or-later
- added %check section