Removed include the top-level __pycache__ directory.

Instead the %pycached macro is used.

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_byte_compiling
This commit is contained in:
Jonny Heggheim 2021-04-02 19:35:24 +02:00
parent f6e8746b4c
commit 28bc94a510

View File

@ -76,8 +76,7 @@ must be compatible with multiple Python versions or requires experimental types.
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}.py %pycached %{python3_sitelib}/%{srcname}.py
%{python3_sitelib}/__pycache__/*
%changelog %changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-2