[Bug 991639] Review Request: python-facct - Fig's accountancy tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=991639



--- Comment #8 from Michael Schwendt <bugs.michael@xxxxxxx> ---
Hmmm, then some more work is needed. I didn't pay attention to where the locale
dir is installed in the python module path. Embarrassing. Of course that
created "files listed twice" warnings. Sorry! But the current spec doesn't fix
it, as it still creates several "unowned" directories that would not be removed
when uninstalling the package:

  %{python_sitelib}/%{srcname}/locale/
  %{python_sitelib}/%{srcname}/locale/fr_FR/
  %{python_sitelib}/%{srcname}/locale/fr_FR/LC_MESSAGES/

Below  /usr/share/locale/  that would not be a problem, because that tree is
owned by either the filesystem and glibc packages. And therefore %find_lang
only needs to find the individual files, not create any %dir entries for them.

When not moving the locale dir, the %files section would get a little bit more
complex, but %find_lang could be used and is a MUST according to the guidelines
(even if it may appear overhead for just the single French translation).

> %{python_sitelib}/%{srcname}/[^l]*

As short and convenient as it may seem, it would get intricate and tedious
whenever you wanted to add a file starting with l.

Patch for the locale issue follows...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Oq0osTH3Np&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]