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



--- Comment #7 from efigue <[email protected]> ---
(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
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to