[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 #7 from efigue <efigue.foss@xxxxxxx> ---
(In reply to Michael Schwendt from comment #6)
> The %files list for the python2 package can get as simple as:
> 
>   %{python_sitelib}/%{srcname}*
> 
> to include everything correctly.
Ok! That said I split it into:
%lang(fr) %{python_sitelib}/%{srcname}/locale/fr_FR/LC_MESSAGES/facct.mo
%{python_sitelib}/%{srcname}*.egg-info
%{python_sitelib}/%{srcname}/[^l]*

I used %lang to avoid rpmlint warning about file-not-in-%lang and split
globbing to remove locale/ directory from inclusion to avoid rpmbuild warning
"files listed twice".
=> rpmlint and mock seem happy.

> Similarly for the python3 based subpackage. You didn't tell why you don't
> include the __pycache__ directory, btw.
In Python3, .pyo and .pyc are now tidied in __pycache__ directories.

Regards

-- 
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=MdTEHxXXb9&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]