Bug 37674 - в 1.7 Не устанавливается локализация
Summary: в 1.7 Не устанавливается локализация
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: viking (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey Y. Afonin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-23 19:58 MSK by Sergey Y. Afonin
Modified: 2019-12-24 13:03 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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