<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37674</bug_id>
          
          <creation_ts>2019-12-23 19:58:56 +0300</creation_ts>
          <short_desc>в 1.7 Не устанавливается локализация</short_desc>
          <delta_ts>2019-12-24 13:03:30 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>viking</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Y. Afonin">asy</reporter>
          <assigned_to name="snk@altlinux.org">snk</assigned_to>
          <cc>rider</cc>
    
    <cc>snk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186550</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2019-12-23 19:58:56 +0300</bug_when>
    <thetext>/bin/install: cannot create regular file &apos;/usr/share/locale/ast/LC_MESSAGES/viking.mo&apos;: Permission denied
installing ast.gmo as /usr/share/locale/ast/LC_MESSAGES/viking.mo
/bin/install: cannot create regular file &apos;/usr/share/locale/ca/LC_MESSAGES/viking.mo&apos;: 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186574</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-12-24 13:03:30 +0300</bug_when>
    <thetext>viking-1.7.0-alt2 -&gt; sisyphus:

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

    </bug>

</bugzilla>